This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47470] Less-optimized Code Size when using Optimizations
- From: "Tomer.Levi at nuvoton dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 13:00:20 +0000
- Subject: [Bug c/47470] Less-optimized Code Size when using Optimizations
- Auto-submitted: auto-generated
- References: <bug-47470-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47470
--- Comment #6 from Tomer Levi <Tomer.Levi at nuvoton dot com> 2011-01-26 13:00:17 UTC ---
Hi Richard,
Thanks for your prompt reply.
Actually, -fno-loop-optimize was the first thing i've tried when facing this
issue. However, the generated code is even worse than using -Os alone.
The loop pre-header still appears, meaning dual comparison.
-fno-loop-optimize2 is not supported under GCC 3.3.2.