------- Comment #21 from pinskia at gcc dot gnu dot org 2008-02-25 19:15 ------- The real issue is that darwin's back-end says functions that are defined in the TU are always binds local so they can be called directly.
So I guess a patch to darwin.c is needed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet|i386-apple-darwin8.11.1 | GCC host triplet|i386-apple-darwin8.11.1 | GCC target triplet|x86_64 |x86_64-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35271