[llvm-commits] [llvm-gcc-4.2] r53130 - /llvm-gcc-4.2/trunk/gcc/cgraphunit.c

Eric Christopher echristo at apple.com
Thu Jul 3 23:57:16 PDT 2008


>>
>
> Make the function non-static.  Note that this only changes behavior
> when compiling C++, not C.  In C++ the same thing already happens for
> inline functions and many other cases.

Should only happen for static inlines in C++, but at any rate -fkeep- 
inline-functions
will usually solve that. Can you make this triggerable based on that  
then or
maybe a -fkeep-static-functions or something?

It's also a change of behavior that could confuse people ...

-eric



More information about the llvm-commits mailing list