[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null
clyon at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 2 15:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-12-02
Ever confirmed|0 |1
--- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> ---
To reproduce, use:
arm-linux-gnueabi-gcc -Wno-pointer-sign -O2 -fsanitize=object-size
-fsanitize=null -c -o zl10353.o zl10353.i
nm zl10353.o | grep ____ilog2_NaN
Compiling without -fsanitize=object-size -fsanitize=null removes the reference
to ____ilog2_NaN
Reproduced with today's trunk, but originally reported against 5.3.1
More information about the Gcc-bugs
mailing list