This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/16341] New: [3.5 Regression] BOOT_CFLAGS='-O2 -fno-inline' causes a comparision failure
- 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: 3 Jul 2004 02:18:52 -0000
- Subject: [Bug bootstrap/16341] New: [3.5 Regression] BOOT_CFLAGS='-O2 -fno-inline' causes a comparision failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With BOOT_CFLAGS='-O2 -fno-inline' causes a comparision failure.
./combine.o differs
./df.o differs
./emit-rtl.o differs
./final.o differs
./loop.o differs
./recog.o differs
./tree-into-ssa.o differs
./varasm.o differs
cp/decl.o differs
java/parse-scan.o differs
Here is some of combine.o differences:
diff -up temp/combine.s temp1/combine.s
--- temp/combine.s Fri Jul 2 19:14:06 2004
+++ temp1/combine.s Fri Jul 2 19:13:32 2004
@@ -26569,42 +26569,43 @@ _combine_instructions:
stmw r13,-76(r1)
mfcr r12
mflr r31
- cmpwi cr4,r3,0
- stw r0,8(r1)
mr r10,r4
- stw r12,4(r1)
+ stw r0,8(r1)
li r0,0
+ stw r12,4(r1)
+ cmpwi cr4,r3,0
addis r11,r31,ha16(_combine_rtl_hooks-"L00000000060$pb")
- stwu r1,-144(r1)
+ addis r14,r31,ha16(L_rtl_hooks$non_lazy_ptr-"L00000000060$pb")
la r2,lo16(_combine_rtl_hooks-"L00000000060$pb")(r11)
- addis r7,r31,ha16(L_rtl_hooks$non_lazy_ptr-"L00000000060$pb")
- lwz r9,lo16(L_rtl_hooks$non_lazy_ptr-"L00000000060$pb")(r7)
- mr r30,r3
- lwz r8,8(r2)
- mr r3,r4
- lwz r11,lo16(_combine_rtl_hooks-"L00000000060$pb")(r11)
+ stwu r1,-144(r1)
+ lwz r9,lo16(L_rtl_hooks$non_lazy_ptr-"L00000000060$pb")(r14)
addis r16,r31,ha16(_combine_attempts-"L00000000060$pb")
- stw r7,60(r1)
- addis r14,r31,ha16(_combine_merges-"L00000000060$pb")
+ lwz r8,8(r2)
+ addis r13,r31,ha16(_combine_successes-"L00000000060$pb")
lwz r7,4(r2)
- addis r13,r31,ha16(_combine_extras-"L00000000060$pb")
- addis r15,r31,ha16(_combine_successes-"L00000000060$pb")
+ addis r2,r31,ha16(_combine_extras-"L00000000060$pb")
+ lwz r11,lo16(_combine_rtl_hooks-"L00000000060$pb")(r11)
+ mr r30,r3
+ stw r2,60(r1)
The only reason why I was doing this is because I was trying out IMA (with a couple of patches to fix it
from Zack and me) but it would fail so I decided to try with -O2 -fno-strict-aliasing and that failed too
so I then tried -O2 -fno-strict-aliasing -fno-inline and that failed also, so I decided to see I could
bootstrap with -O2 -fno-strict-aliasing -fno-inline on a clean build but that failed and I then went and
found that -O2 -fno-inline made it failed.
--
Summary: [3.5 Regression] BOOT_CFLAGS='-O2 -fno-inline' causes a
comparision failure
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: wrong-code, build
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16341