[Bug target/51643] Incorrect code produced for tail-call of weak function with -O2/-O3 option
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 20 21:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|arm-eabi |
Component|rtl-optimization |target
Known to fail|4.6.1, 4.6.2 |
Build|x86_64-redhat-linux |
Severity|major |normal
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-20 21:26:44 UTC ---
I think this code is undefined. You are calling a weak function without
checking if it is null.
More information about the Gcc-bugs
mailing list