This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
- From: "galtgendo at o2 dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Jan 2013 02:20:08 +0000
- Subject: [Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
- Auto-submitted: auto-generated
- References: <bug-39333-4@http.gcc.gnu.org/bugzilla/>
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 ?