This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21688] [4.0 Regression] gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2005 22:43:28 -0000
- Subject: [Bug middle-end/21688] [4.0 Regression] gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc)
- References: <20050520222359.21688.felix-gcc@fefe.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-20 22:43 -------
Hmm, the assmbley for the functions at -O and -O -funit-at-a-time are no different but we get wrong
code some how.
This works on the mainline and in 3.4.0 so it is a regression.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Component|c |middle-end
Keywords| |wrong-code
Known to fail| |4.0.0
Known to work| |3.4.0 4.1.0
Summary|gcc miscompiles with -Os |[4.0 Regression] gcc
|(wrong code at least on |miscompiles with -Os (wrong
|i386, x86_64 and ppc) |code at least on i386,
| |x86_64 and ppc)
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21688