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: 3 Mar 2009 03:23:21 -0000
- Subject: [Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
- References: <bug-39333-15488@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from galtgendo at o2 dot pl 2009-03-03 03:23 -------
OK, we seem to misunderstand each other.
Anyway, as '-Wall -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations'
was set for all files during build and there were no warnings,
the problem is probably non-trivial (though seeing just how
much inlining is used is this file, I wouldn't be surprised,
if it's 50/50 on gcc/freeciv).
When I added '-Wextra', most of the new warnings were of either
'unused argument' or 'signed/unsinged comparison' type - in this
file, there were no other.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333