[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 10 14:24:58 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
             Status|NEW                         |WAITING

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Well, even GCC 4.8.0 ends with:

/usr/bin/ld.bfd: /tmp/cch530u7.o: in function `main':
pr102892.c:(.text.startup+0x5): undefined reference to `bar'
/usr/bin/ld.bfd: pr102892.c:(.text.startup+0xa): undefined reference to `bar'
collect2: error: ld returned 1 exit status

What exactly should I bisect?


More information about the Gcc-bugs mailing list