10429 loader: dereferencing type-punned pointer will break strict-aliasing rules

Review Request #1499 - Created Feb. 20, 2019 and submitted

Information
Toomas Soome
illumos-gate
10429
c01f73b...
Reviewers
general
In file included from isoboot.c:117:
cd9660read.c: In function 'cd9660_lookup':
cd9660read.c:248: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

bootinfo32.c: In function 'bi_load32':
bootinfo32.c:236: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bootinfo32.c:239: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

biospnp.c: In function 'biospnp_call':
biospnp.c:258: warning: dereferencing pointer 'argp.40' does break strict-aliasing rules [-Wstrict-aliasing]
biospnp.c:258: note: initialized from here
biospnp.c:268: warning: dereferencing pointer 'argp.40' does break strict-aliasing rules [-Wstrict-aliasing]
biospnp.c:268: note: initialized from here
biospnp.c:282: warning: dereferencing pointer 'argp.40' does break strict-aliasing rules [-Wstrict-aliasing]
biospnp.c:282: note: initialized from here

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...