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

vanboxem.ruben at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 17 18:45:00 GMT 2011


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

--- Comment #11 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 2011-10-17 18:44:39 UTC ---
(In reply to comment #10)
> 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

Seeing that documentation is unclear (no mention of when errors or warnings are
produced), and Qt Creator devs want to know what version of GCC started
errorring on this, could you please let me know what GCC version started
producing errors? Thanks!



More information about the Gcc-bugs mailing list