This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null
- From: "clyon at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Dec 2016 15:01:49 +0000
- Subject: [Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null
- Auto-submitted: auto-generated
- References: <bug-78653-4@http.gcc.gnu.org/bugzilla/>
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