[Bug tree-optimization/10980] vararg functions are not inlined

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Fri Sep 23 14:32:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980

--- Comment #10 from Jan Hubicka <hubicka at ucw dot cz> 2011-09-23 14:10:53 UTC ---
I bet it just ignores the attribute that is not how the attribute is
supposed to work.

We output error in this case intentionally (and warning in at the same
spot if function is declared inline and -Winline is given).
Functions marked always_inlined really ought to be always inlined and
attribute is supposed to be useable in the cases where compilation would
fail otherwise (such as SSE buitins).

Our documentation is however not particularly clear here, perhaps it should
be updated...

Honza



More information about the Gcc-bugs mailing list