This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions
- From: "drab at kepler dot fjfi dot cvut dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2005 02:01:38 -0000
- Subject: [Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions
- References: <20050514004500.21564.drab@kepler.fjfi.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-05-14 02:01 -------
(In reply to comment #6)
> Strict aliasing does not matter in this case as it is not enabled at -O1 anyways.
It does! Although not with -O1. But I just wanted to point out (which I forgot
before) that with '-fstrict-aliasing' it works, i.e.:
----------------------
gcc -O1 -fstrict-aliasing -finline-functions -I. -o lame lame.c
----------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21564