This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]