public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux
@ 2011-04-19 7:42 mikpe at it dot uu.se
2011-04-19 9:24 ` [Bug bootstrap/48679] " schwab@linux-m68k.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-04-19 7:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
Summary: [4.7 regression] bootstrap comparison failures on
m68k-linux
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikpe@it.uu.se
The last 4.7 snapshot I was able to build on m68k-linux was 4.7-20110326.
Since then, every single weekly snapshot has failed with bootstrap comparison
failures. Some weeks other archs have also seen bootstrap comparison failures
but recently they aren't, however m68k-linux still does:
> /mnt/scratch/gcc-4.7-20110416/configure --prefix=/mnt/scratch/install47 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++ --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --disable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --disable-sjlj-exceptions --disable-libmudflap --with-gmp=/home/mikpe/pkgs/linux-m68k/gmp-4.3.2 --with-mpfr=/home/mikpe/pkgs/linux-m68k/mpfr-2.4.2 --with-mpc=/home/mikpe/pkgs/linux-m68k/mpc-0.8.2 --disable-plugin --disable-lto --disable-multilib
> make bootstrap
...
rm -f stage_current
make[3]: Leaving directory `/mnt/scratch/objdir47'
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/tlink.o differs
gcc/tree-affine.o differs
gcc/tree-vrp.o differs
gcc/tree-ssa-uninit.o differs
gcc/fwprop.o differs
gcc/et-forest.o differs
gcc/real.o differs
gcc/sel-sched-dump.o differs
(many many more lines omitted)
libiberty/simple-object-elf.o differs
libiberty/alloca.o differs
libiberty/sha1.o differs
libiberty/getpwd.o differs
libiberty/floatformat.o differs
libiberty/md5.o differs
libiberty/pex-common.o differs
libiberty/simple-object-coff.o differs
libiberty/simple-object-mach-o.o differs
libiberty/objalloc.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/mnt/scratch/objdir47'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2
I will attempt to bisect this, but with the multiple generic bootstrap
comparison failures 4.7 has experienced recently, it's going to take some time.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
@ 2011-04-19 9:24 ` schwab@linux-m68k.org
2011-04-19 9:51 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2011-04-19 9:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-04-19 09:24:05 UTC ---
What are the differences?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
2011-04-19 9:24 ` [Bug bootstrap/48679] " schwab@linux-m68k.org
@ 2011-04-19 9:51 ` rguenth at gcc dot gnu.org
2011-04-19 9:59 ` mikpe at it dot uu.se
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-19 9:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
2011-04-19 9:24 ` [Bug bootstrap/48679] " schwab@linux-m68k.org
2011-04-19 9:51 ` rguenth at gcc dot gnu.org
@ 2011-04-19 9:59 ` mikpe at it dot uu.se
2011-05-04 21:29 ` mikpe at it dot uu.se
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-04-19 9:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-04-19 09:58:30 UTC ---
`size' shows .text size differences, diffing objdump -d outputs shows what
looks like register allocation changes. E.g. on libiberty/objalloc.o:
> size prev-libiberty/objalloc.o libiberty/objalloc.o
text data bss dec hex filename
700 0 0 700 2bc prev-libiberty/objalloc.o
712 0 0 712 2c8 libiberty/objalloc.o
> objdump -d prev-libiberty/objalloc.o > a
> objdump -d libiberty/objalloc.o > b
> diff -u a b
--- a 2011-04-19 09:48:31.000000000 +0000
+++ b 2011-04-19 09:49:27.000000000 +0000
@@ -1,5 +1,5 @@
-prev-libiberty/objalloc.o: file format elf32-m68k
+libiberty/objalloc.o: file format elf32-m68k
Disassembly of section .text:
@@ -15,7 +15,7 @@
16: 588f addql #4,%sp
18: 4a88 tstl %a0
1a: 6720 beqs 3c <objalloc_create+0x3c>
- 1c: 4878 0fe0 pea fe0 <objalloc_free_block+0xe40>
+ 1c: 4878 0fe0 pea fe0 <objalloc_free_block+0xe3c>
20: 4e93 jsr %a3@
22: 2548 0008 movel %a0,%a2@(8)
26: 588f addql #4,%sp
@@ -56,7 +56,7 @@
82: 6464 bccs e8 <_objalloc_alloc+0x80>
84: 0c82 0000 01ff cmpil #511,%d2
8a: 6200 0090 bhiw 11c <_objalloc_alloc+0xb4>
- 8e: 4878 0fe0 pea fe0 <objalloc_free_block+0xe40>
+ 8e: 4878 0fe0 pea fe0 <objalloc_free_block+0xe3c>
92: 4eb9 0000 0000 jsr 0 <objalloc_create>
98: 588f addql #4,%sp
9a: 4a88 tstl %a0
@@ -131,141 +131,141 @@
0000015a <objalloc_free>:
15a: 4e56 0000 linkw %fp,#0
- 15e: 48e7 2030 moveml %d2/%a2-%a3,%sp@-
- 162: 266e 0008 moveal %fp@(8),%a3
- 166: 206b 0008 moveal %a3@(8),%a0
- 16a: 45f9 0000 0000 lea 0 <objalloc_create>,%a2
- 170: 4a88 tstl %a0
- 172: 671a beqs 18e <objalloc_free+0x34>
- 174: 2410 movel %a0@,%d2
- 176: 2f08 movel %a0,%sp@-
- 178: 4e92 jsr %a2@
- 17a: 588f addql #4,%sp
- 17c: 4a82 tstl %d2
- 17e: 670e beqs 18e <objalloc_free+0x34>
- 180: 2042 moveal %d2,%a0
- 182: 2410 movel %a0@,%d2
- 184: 2f08 movel %a0,%sp@-
- 186: 4e92 jsr %a2@
- 188: 588f addql #4,%sp
- 18a: 4a82 tstl %d2
- 18c: 66f2 bnes 180 <objalloc_free+0x26>
- 18e: 2d4b 0008 movel %a3,%fp@(8)
- 192: 4cee 0c04 fff4 moveml %fp@(-12),%d2/%a2-%a3
- 198: 4e5e unlk %fp
- 19a: 60ff 0000 0000 bral 19c <objalloc_free+0x42>
+ 15e: 2f0a movel %a2,%sp@-
+ 160: 2f02 movel %d2,%sp@-
+ 162: 246e 0008 moveal %fp@(8),%a2
+ 166: 206a 0008 moveal %a2@(8),%a0
+ 16a: 4a88 tstl %a0
+ 16c: 6722 beqs 190 <objalloc_free+0x36>
+ 16e: 2410 movel %a0@,%d2
+ 170: 2f08 movel %a0,%sp@-
+ 172: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 178: 588f addql #4,%sp
+ 17a: 4a82 tstl %d2
+ 17c: 6712 beqs 190 <objalloc_free+0x36>
+ 17e: 2042 moveal %d2,%a0
+ 180: 2410 movel %a0@,%d2
+ 182: 2f08 movel %a0,%sp@-
+ 184: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 18a: 588f addql #4,%sp
+ 18c: 4a82 tstl %d2
+ 18e: 66ee bnes 17e <objalloc_free+0x24>
+ 190: 2d4a 0008 movel %a2,%fp@(8)
+ 194: 242e fff8 movel %fp@(-8),%d2
+ 198: 246e fffc moveal %fp@(-4),%a2
+ 19c: 4e5e unlk %fp
+ 19e: 60ff 0000 0000 bral 1a0 <objalloc_free+0x46>
-000001a0 <objalloc_free_block>:
- 1a0: 4e56 0000 linkw %fp,#0
- 1a4: 48e7 3c3c moveml %d2-%d5/%a2-%a5,%sp@-
- 1a8: 286e 0008 moveal %fp@(8),%a4
- 1ac: 262e 000c movel %fp@(12),%d3
- 1b0: 206c 0008 moveal %a4@(8),%a0
- 1b4: 4a88 tstl %a0
- 1b6: 6718 beqs 1d0 <objalloc_free_block+0x30>
- 1b8: 2448 moveal %a0,%a2
- 1ba: 4284 clrl %d4
- 1bc: 242a 0004 movel %a2@(4),%d2
- 1c0: 6714 beqs 1d6 <objalloc_free_block+0x36>
- 1c2: 200a movel %a2,%d0
- 1c4: 5080 addql #8,%d0
- 1c6: b083 cmpl %d3,%d0
- 1c8: 6722 beqs 1ec <objalloc_free_block+0x4c>
- 1ca: 2452 moveal %a2@,%a2
- 1cc: 4a8a tstl %a2
- 1ce: 66ec bnes 1bc <objalloc_free_block+0x1c>
- 1d0: 4eb9 0000 0000 jsr 0 <objalloc_create>
- 1d6: b5c3 cmpal %d3,%a2
- 1d8: 6408 bccs 1e2 <objalloc_free_block+0x42>
- 1da: 47ea 0fe0 lea %a2@(4064),%a3
- 1de: b7c3 cmpal %d3,%a3
- 1e0: 6258 bhis 23a <objalloc_free_block+0x9a>
- 1e2: 280a movel %a2,%d4
- 1e4: 2452 moveal %a2@,%a2
- 1e6: 4a8a tstl %a2
- 1e8: 66d2 bnes 1bc <objalloc_free_block+0x1c>
- 1ea: 60e4 bras 1d0 <objalloc_free_block+0x30>
+000001a4 <objalloc_free_block>:
+ 1a4: 4e56 0000 linkw %fp,#0
+ 1a8: 48e7 3e30 moveml %d2-%d6/%a2-%a3,%sp@-
+ 1ac: 266e 0008 moveal %fp@(8),%a3
+ 1b0: 262e 000c movel %fp@(12),%d3
+ 1b4: 206b 0008 moveal %a3@(8),%a0
+ 1b8: 4a88 tstl %a0
+ 1ba: 6718 beqs 1d4 <objalloc_free_block+0x30>
+ 1bc: 2448 moveal %a0,%a2
+ 1be: 4284 clrl %d4
+ 1c0: 242a 0004 movel %a2@(4),%d2
+ 1c4: 6714 beqs 1da <objalloc_free_block+0x36>
+ 1c6: 200a movel %a2,%d0
+ 1c8: 5080 addql #8,%d0
+ 1ca: b083 cmpl %d3,%d0
+ 1cc: 6726 beqs 1f4 <objalloc_free_block+0x50>
+ 1ce: 2452 moveal %a2@,%a2
+ 1d0: 4a8a tstl %a2
+ 1d2: 66ec bnes 1c0 <objalloc_free_block+0x1c>
+ 1d4: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 1da: b5c3 cmpal %d3,%a2
+ 1dc: 640c bccs 1ea <objalloc_free_block+0x46>
+ 1de: 2a0a movel %a2,%d5
+ 1e0: 0685 0000 0fe0 addil #4064,%d5
+ 1e6: ba83 cmpl %d3,%d5
+ 1e8: 625a bhis 244 <objalloc_free_block+0xa0>
+ 1ea: 280a movel %a2,%d4
1ec: 2452 moveal %a2@,%a2
- 1ee: 47f9 0000 0000 lea 0 <objalloc_create>,%a3
- 1f4: b5c8 cmpal %a0,%a2
- 1f6: 671a beqs 212 <objalloc_free_block+0x72>
- 1f8: 2610 movel %a0@,%d3
- 1fa: 2f08 movel %a0,%sp@-
- 1fc: 4e93 jsr %a3@
- 1fe: 588f addql #4,%sp
- 200: b68a cmpl %a2,%d3
- 202: 670e beqs 212 <objalloc_free_block+0x72>
- 204: 2043 moveal %d3,%a0
- 206: 2610 movel %a0@,%d3
- 208: 2f08 movel %a0,%sp@-
- 20a: 4e93 jsr %a3@
- 20c: 588f addql #4,%sp
- 20e: b68a cmpl %a2,%d3
- 210: 66f2 bnes 204 <objalloc_free_block+0x64>
- 212: 294a 0008 movel %a2,%a4@(8)
- 216: 4aaa 0004 tstl %a2@(4)
- 21a: 6708 beqs 224 <objalloc_free_block+0x84>
- 21c: 2452 moveal %a2@,%a2
- 21e: 4aaa 0004 tstl %a2@(4)
- 222: 66f8 bnes 21c <objalloc_free_block+0x7c>
- 224: 2882 movel %d2,%a4@
- 226: 45ea 0fe0 lea %a2@(4064),%a2
- 22a: 95c2 subal %d2,%a2
- 22c: 294a 0004 movel %a2,%a4@(4)
- 230: 4cee 3c3c ffe0 moveml %fp@(-32),%d2-%d5/%a2-%a5
- 236: 4e5e unlk %fp
- 238: 4e75 rts
- 23a: 4a8a tstl %a2
- 23c: 6792 beqs 1d0 <objalloc_free_block+0x30>
- 23e: b5c8 cmpal %a0,%a2
- 240: 676a beqs 2ac <objalloc_free_block+0x10c>
- 242: 4285 clrl %d5
- 244: 4bf9 0000 0000 lea 0 <objalloc_create>,%a5
- 24a: 2410 movel %a0@,%d2
- 24c: 4a84 tstl %d4
- 24e: 671a beqs 26a <objalloc_free_block+0xca>
- 250: b1c4 cmpal %d4,%a0
- 252: 56c0 sne %d0
- 254: 49c0 extbl %d0
- 256: c880 andl %d0,%d4
- 258: 2f08 movel %a0,%sp@-
- 25a: 4e95 jsr %a5@
- 25c: 588f addql #4,%sp
- 25e: b5c2 cmpal %d2,%a2
- 260: 6718 beqs 27a <objalloc_free_block+0xda>
- 262: 2042 moveal %d2,%a0
- 264: 2410 movel %a0@,%d2
- 266: 4a84 tstl %d4
- 268: 66e6 bnes 250 <objalloc_free_block+0xb0>
- 26a: b6a8 0004 cmpl %a0@(4),%d3
- 26e: 6534 bcss 2a4 <objalloc_free_block+0x104>
- 270: 4a85 tstl %d5
- 272: 66ea bnes 25e <objalloc_free_block+0xbe>
- 274: 2a08 movel %a0,%d5
- 276: b5c2 cmpal %d2,%a2
- 278: 66e8 bnes 262 <objalloc_free_block+0xc2>
- 27a: 4a85 tstl %d5
- 27c: 6716 beqs 294 <objalloc_free_block+0xf4>
- 27e: 2945 0008 movel %d5,%a4@(8)
- 282: 2883 movel %d3,%a4@
- 284: 97c3 subal %d3,%a3
- 286: 294b 0004 movel %a3,%a4@(4)
- 28a: 4cee 3c3c ffe0 moveml %fp@(-32),%d2-%d5/%a2-%a5
- 290: 4e5e unlk %fp
- 292: 4e75 rts
- 294: 2a02 movel %d2,%d5
- 296: 2945 0008 movel %d5,%a4@(8)
- 29a: 2883 movel %d3,%a4@
- 29c: 97c3 subal %d3,%a3
- 29e: 294b 0004 movel %a3,%a4@(4)
- 2a2: 60e6 bras 28a <objalloc_free_block+0xea>
- 2a4: 2f08 movel %a0,%sp@-
- 2a6: 4e95 jsr %a5@
- 2a8: 588f addql #4,%sp
- 2aa: 60b2 bras 25e <objalloc_free_block+0xbe>
- 2ac: 2a08 movel %a0,%d5
- 2ae: 2945 0008 movel %d5,%a4@(8)
- 2b2: 2883 movel %d3,%a4@
- 2b4: 97c3 subal %d3,%a3
- 2b6: 294b 0004 movel %a3,%a4@(4)
- 2ba: 60ce bras 28a <objalloc_free_block+0xea>
+ 1ee: 4a8a tstl %a2
+ 1f0: 66ce bnes 1c0 <objalloc_free_block+0x1c>
+ 1f2: 60e0 bras 1d4 <objalloc_free_block+0x30>
+ 1f4: 2452 moveal %a2@,%a2
+ 1f6: b5c8 cmpal %a0,%a2
+ 1f8: 6722 beqs 21c <objalloc_free_block+0x78>
+ 1fa: 2610 movel %a0@,%d3
+ 1fc: 2f08 movel %a0,%sp@-
+ 1fe: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 204: 588f addql #4,%sp
+ 206: b68a cmpl %a2,%d3
+ 208: 6712 beqs 21c <objalloc_free_block+0x78>
+ 20a: 2043 moveal %d3,%a0
+ 20c: 2610 movel %a0@,%d3
+ 20e: 2f08 movel %a0,%sp@-
+ 210: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 216: 588f addql #4,%sp
+ 218: b68a cmpl %a2,%d3
+ 21a: 66ee bnes 20a <objalloc_free_block+0x66>
+ 21c: 274a 0008 movel %a2,%a3@(8)
+ 220: 4aaa 0004 tstl %a2@(4)
+ 224: 6708 beqs 22e <objalloc_free_block+0x8a>
+ 226: 2452 moveal %a2@,%a2
+ 228: 4aaa 0004 tstl %a2@(4)
+ 22c: 66f8 bnes 226 <objalloc_free_block+0x82>
+ 22e: 2682 movel %d2,%a3@
+ 230: 45ea 0fe0 lea %a2@(4064),%a2
+ 234: 95c2 subal %d2,%a2
+ 236: 274a 0004 movel %a2,%a3@(4)
+ 23a: 4cee 0c7c ffe4 moveml %fp@(-28),%d2-%d6/%a2-%a3
+ 240: 4e5e unlk %fp
+ 242: 4e75 rts
+ 244: 4a8a tstl %a2
+ 246: 678c beqs 1d4 <objalloc_free_block+0x30>
+ 248: b5c8 cmpal %a0,%a2
+ 24a: 676c beqs 2b8 <objalloc_free_block+0x114>
+ 24c: 4286 clrl %d6
+ 24e: 2410 movel %a0@,%d2
+ 250: 4a84 tstl %d4
+ 252: 671e beqs 272 <objalloc_free_block+0xce>
+ 254: b1c4 cmpal %d4,%a0
+ 256: 56c0 sne %d0
+ 258: 49c0 extbl %d0
+ 25a: c880 andl %d0,%d4
+ 25c: 2f08 movel %a0,%sp@-
+ 25e: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 264: 588f addql #4,%sp
+ 266: b5c2 cmpal %d2,%a2
+ 268: 6718 beqs 282 <objalloc_free_block+0xde>
+ 26a: 2042 moveal %d2,%a0
+ 26c: 2410 movel %a0@,%d2
+ 26e: 4a84 tstl %d4
+ 270: 66e2 bnes 254 <objalloc_free_block+0xb0>
+ 272: b6a8 0004 cmpl %a0@(4),%d3
+ 276: 6534 bcss 2ac <objalloc_free_block+0x108>
+ 278: 4a86 tstl %d6
+ 27a: 66ea bnes 266 <objalloc_free_block+0xc2>
+ 27c: 2c08 movel %a0,%d6
+ 27e: b5c2 cmpal %d2,%a2
+ 280: 66e8 bnes 26a <objalloc_free_block+0xc6>
+ 282: 4a86 tstl %d6
+ 284: 6716 beqs 29c <objalloc_free_block+0xf8>
+ 286: 2746 0008 movel %d6,%a3@(8)
+ 28a: 2683 movel %d3,%a3@
+ 28c: 9a83 subl %d3,%d5
+ 28e: 2745 0004 movel %d5,%a3@(4)
+ 292: 4cee 0c7c ffe4 moveml %fp@(-28),%d2-%d6/%a2-%a3
+ 298: 4e5e unlk %fp
+ 29a: 4e75 rts
+ 29c: 2c02 movel %d2,%d6
+ 29e: 2746 0008 movel %d6,%a3@(8)
+ 2a2: 2683 movel %d3,%a3@
+ 2a4: 9a83 subl %d3,%d5
+ 2a6: 2745 0004 movel %d5,%a3@(4)
+ 2aa: 60e6 bras 292 <objalloc_free_block+0xee>
+ 2ac: 2f08 movel %a0,%sp@-
+ 2ae: 4eb9 0000 0000 jsr 0 <objalloc_create>
+ 2b4: 588f addql #4,%sp
+ 2b6: 60ae bras 266 <objalloc_free_block+0xc2>
+ 2b8: 2c08 movel %a0,%d6
+ 2ba: 2746 0008 movel %d6,%a3@(8)
+ 2be: 2683 movel %d3,%a3@
+ 2c0: 9a83 subl %d3,%d5
+ 2c2: 2745 0004 movel %d5,%a3@(4)
+ 2c6: 60ca bras 292 <objalloc_free_block+0xee>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (2 preceding siblings ...)
2011-04-19 9:59 ` mikpe at it dot uu.se
@ 2011-05-04 21:29 ` mikpe at it dot uu.se
2011-05-06 11:35 ` mikpe at it dot uu.se
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-04 21:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at gcc dot gnu.org
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-04 21:26:22 UTC ---
Bisection identified Vladimir Makarov's big IRA update in r171649 as the source
of this regression.
gcc-4.7-20110326 (r171562) builds OK if the PR48332 fix is pre-applied, but
gcc-4.7-20110402 (r171894) fails with massive bootstrap comparison failures.
Bisecting between these points was a pain because almost all bisection points
failed to build due to ICEs, however bisection narrowed in on r171649. I then
collected the fixes for all known regression from r171649 (I counted 9 of
them), and redid the bisection with relevant fixes pre-applied. This time the
builds did not ICE but failed after stage 3 with bootstrap comparison failures.
Again bisection identified r171649. Finally I built gcc-4.7-20110402
(r171894) with all IRA changes from r171649 to r171894 reverted, and that
bootstrapped fine.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (3 preceding siblings ...)
2011-05-04 21:29 ` mikpe at it dot uu.se
@ 2011-05-06 11:35 ` mikpe at it dot uu.se
2011-05-07 16:53 ` mikpe at it dot uu.se
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-06 11:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-06 11:19:10 UTC ---
The smallest .o file that fails bootstrap comparison is libiberty/alloca.o,
which get 150 bytes of .text with stage1 xgcc but 148 bytes of text with stage2
and stage3 xgcc (same options). -fcompare-debug doesn't complain. Looks like
stage1 miscompiles stage2.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (4 preceding siblings ...)
2011-05-06 11:35 ` mikpe at it dot uu.se
@ 2011-05-07 16:53 ` mikpe at it dot uu.se
2011-05-12 23:02 ` mikpe at it dot uu.se
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-07 16:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-07 16:25:34 UTC ---
It's calls.c that gets miscompiled. If stage2 cc1 is relinked with calls.o
from stage1 then it generates the same code for alloca.c as stage1 does. If
stage1 cc1 is relinked with calls.o from stage2 then it generates the same code
for alloca.c as original stage2 and stage3 do.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (5 preceding siblings ...)
2011-05-07 16:53 ` mikpe at it dot uu.se
@ 2011-05-12 23:02 ` mikpe at it dot uu.se
2011-05-16 12:44 ` mikpe at it dot uu.se
2011-05-28 10:53 ` mikpe at it dot uu.se
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-12 23:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #6 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-12 22:36:17 UTC ---
It's expand_call(), initialize_argument_information(),
precompute_register_parameters(), or load_register_parameters() that gets
miscompiled in stage2. expand_call() is an external entry point, the next
three are static functions that get completely inlined in expand_call().
Moving either of these four to a separate file compiled with the bootstrap
compiler eliminates the code changes in alloca.o.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (6 preceding siblings ...)
2011-05-12 23:02 ` mikpe at it dot uu.se
@ 2011-05-16 12:44 ` mikpe at it dot uu.se
2011-05-28 10:53 ` mikpe at it dot uu.se
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-16 12:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
--- Comment #7 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-16 12:17:45 UTC ---
The bootstrap comparison failure appears to be gone in a c-only build of
gcc-4.7-20110514. I'll run a bisect to identify which rev fixed this bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/48679] [4.7 regression] bootstrap comparison failures on m68k-linux
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
` (7 preceding siblings ...)
2011-05-16 12:44 ` mikpe at it dot uu.se
@ 2011-05-28 10:53 ` mikpe at it dot uu.se
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-05-28 10:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48679
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-28 10:52:21 UTC ---
The bootstrap comparison failures were fixed by r173393:
Author: bernds
Date: Wed May 4 20:24:15 2011
New Revision: 173393
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173393
Log:
PR rtl-optimization/47612
* df-problems.c (can_move_insns_across): Don't pick a cc0 setter
as the last insn of the sequence to be moved.
which is a little unexpected since the bug it fixed (PR47612) didn't affect
m68k-linux prior to the large IRA update.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-05-28 10:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 7:42 [Bug bootstrap/48679] New: [4.7 regression] bootstrap comparison failures on m68k-linux mikpe at it dot uu.se
2011-04-19 9:24 ` [Bug bootstrap/48679] " schwab@linux-m68k.org
2011-04-19 9:51 ` rguenth at gcc dot gnu.org
2011-04-19 9:59 ` mikpe at it dot uu.se
2011-05-04 21:29 ` mikpe at it dot uu.se
2011-05-06 11:35 ` mikpe at it dot uu.se
2011-05-07 16:53 ` mikpe at it dot uu.se
2011-05-12 23:02 ` mikpe at it dot uu.se
2011-05-16 12:44 ` mikpe at it dot uu.se
2011-05-28 10:53 ` mikpe at it dot uu.se
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).