[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
galtgendo at o2 dot pl
gcc-bugzilla@gcc.gnu.org
Sun Jan 6 02:20:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333
--- Comment #30 from Rafał Mużyło <galtgendo at o2 dot pl> 2013-01-06 02:20:08 UTC ---
While 4.7.2 still has the problem, I've just learnt about PR33763.
Now, while that particular patch doesn't help 4.7.2 - even it it sounds like it
should - removing ' __attribute__ ((__always_inline__))' manually does make the
code compile with '-O1'.
So the question: does that patch not apply to -O1 level or is 'extern inline'
and 'extern __inline' simply not being the same thing ?
If it's the later, would a similar fix be applicable here too ?
More information about the Gcc-bugs
mailing list