http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |arm-eabi
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-21
09:53:24 UTC ---
Technically this bug is invalid (undefined is undefined, not consistent). ARM
maintainers may want to disallow tail/sibling calls to possibly weak targets.
The ABI is inconsistent itself, btw, as
weak_fn ();
beahaves different than
*(&weak_fn) ();
as I presume the linker cannot do anything for indirect calls to weak
functions.