RTL for function marked "static inline" is not generated at -O0

Andrew Haley aph@redhat.com
Sun May 27 09:12:00 GMT 2012


On 05/27/2012 06:10 AM, Ayonam Ray wrote:
> The compiler doesn't generate the RTL for the function foo at -O0.
> Since the function is not inlined at -O0, there is a call to foo() in
> bar() and the function foo() does not exist in the assembly generated.

It works for me with gcc version 4.1.2 x86_64.

Andrew.



More information about the Gcc-help mailing list