This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/23299] [4.0 Regression] "classic" GCSE caused miscompilation
- 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: 9 Aug 2005 17:19:27 -0000
- Subject: [Bug rtl-optimization/23299] [4.0 Regression] "classic" GCSE caused miscompilation
- References: <20050809170136.23299.jakub@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-09 17:19 -------
Confirmed, weird, it works on the mainline, even after making sure that the function c does not get
inlined and checking the assembly it is obviously that 4.1 works while 4.0.x does not.
4.0.x:
addi r30,r9,8
mainline:
addi r30,r3,8
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|middle-end |rtl-optimization
Ever Confirmed| |1
Keywords| |wrong-code
Known to fail| |4.0.1
Known to work| |4.1.0 3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-08-09 17:19:22
date| |
Summary|GCSE? caused miscompilation |[4.0 Regression] "classic"
| |GCSE caused miscompilation
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23299