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.