[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||kallisti5 at unixzen dot ||com --- Comment #17 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-12 19:13:14 UTC --- *** Bug 56938 has been marked as a duplicate of this bug. ***
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | --- Comment #12 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-21 08:56:28 UTC --- I belive I fixed ira-build on trunk ... let me search for that fix(es).
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 --- Comment #13 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-21 09:01:13 UTC --- My guess is r186590 2012-04-19 Richard Guenther rguent...@suse.de * ira-int.h (ira_allocno_object_iter_cond): Avoid out-of-bound array access. I'm going to backport it to all active branches.
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 --- Comment #14 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-21 10:08:41 UTC --- Author: rguenth Date: Fri Sep 21 10:08:35 2012 New Revision: 191605 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191605 Log: 2012-09-21 Richard Guenther rguent...@suse.de PR middle-end/54638 Backport from mainline 2012-04-19 Richard Guenther rguent...@suse.de * ira-int.h (ira_allocno_object_iter_cond): Avoid out-of-bound array access. Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/ira-int.h
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 --- Comment #15 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-21 10:09:09 UTC --- Author: rguenth Date: Fri Sep 21 10:09:04 2012 New Revision: 191606 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191606 Log: 2012-09-21 Richard Guenther rguent...@suse.de PR middle-end/54638 Backport from mainline 2012-04-19 Richard Guenther rguent...@suse.de * ira-int.h (ira_allocno_object_iter_cond): Avoid out-of-bound array access. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/ira-int.h
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #16 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-21 10:10:09 UTC --- Should be fixed now.
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|WAITING |NEW CC||rguenth at gcc dot gnu.org Component|c |middle-end --- Comment #9 from H.J. Lu hjl.tools at gmail dot com 2012-09-20 19:51:49 UTC --- It is caused by revision 186592: http://gcc.gnu.org/ml/gcc-cvs/2012-04/msg00543.html
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 --- Comment #10 from H.J. Lu hjl.tools at gmail dot com 2012-09-20 20:32:58 UTC --- A simple input causes: [hjl@gnu-mic-2 gcc]$ cat /tmp/x.i typedef int TItype __attribute__ ((mode (TI))); int foo (TItype a, TItype b) { return a b; } [hjl@gnu-mic-2 gcc]$ ./xgcc -B./ -S /tmp/x.i *** glibc detected *** ./cc1: malloc(): smallbin double linked list corrupted: 0x01aa9870 *** === Backtrace: = /lib64/libc.so.6[0x38f3a7acc6] /lib64/libc.so.6[0x38f3a7d547] /lib64/libc.so.6(__libc_malloc+0x63)[0x38f3a7f373] /lib64/libc.so.6[0x38f3a33014] /lib64/libc.so.6[0x38f3a3322b] /lib64/libc.so.6[0x38f3a30bbf] /lib64/libc.so.6[0x38f3a302ec] ./cc1[0x76f1a1] /lib64/libc.so.6[0x38f3a358a0] ./cc1(ira_build+0xc88)[0x6879c8] ./cc1[0x681d47] ./cc1(execute_one_pass+0x108)[0x6df768] ./cc1(execute_pass_list+0x15)[0x6dfac5] ./cc1(execute_pass_list+0x27)[0x6dfad7] ./cc1(tree_rest_of_compilation+0x79)[0x7b7449] ./cc1[0x56996a] ./cc1(cgraph_optimize+0x826)[0x56b386] ./cc1(cgraph_finalize_compilation_unit+0x7a)[0x56b5ea] ./cc1(c_write_global_declarations+0xf0)[0x4adc30] ./cc1(toplev_main+0xa58)[0x770f48] /lib64/libc.so.6(__libc_start_main+0xf5)[0x38f3a21675] ./cc1[0x49cc11] === Memory map: 0040-00fa5000 r-xp 08:11 15101988 /export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1 011a5000-011b rw-p 00ba5000 08:11 15101988 /export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1 011b-0130f000 rw-p 00:00 0 01a8f000-01b98000 rw-p 00:00 0 [heap] 38f360-38f3621000 r-xp 08:08 1439025 /usr/lib64/ld-2.15.so 38f382-38f3821000 r--p 0002 08:08 1439025 /usr/lib64/ld-2.15.so 38f3821000-38f3822000 rw-p 00021000 08:08 1439025 /usr/lib64/ld-2.15.so 38f3822000-38f3823000 rw-p 00:00 0 38f3a0-38f3bac000 r-xp 08:08 1439038 /usr/lib64/libc-2.15.so 38f3bac000-38f3dac000 ---p 001ac000 08:08 1439038 /usr/lib64/libc-2.15.so 38f3dac000-38f3db r--p 001ac000 08:08 1439038 /usr/lib64/libc-2.15.so 38f3db-38f3db2000 rw-p 001b 08:08 1439038 /usr/lib64/libc-2.15.so 38f3db2000-38f3db7000 rw-p 00:00 0 38f3e0-38f3e03000 r-xp 08:08 1445087 /usr/lib64/libgmpxx.so.4.2.2 38f3e03000-38f4003000 ---p 3000 08:08 1445087 /usr/lib64/libgmpxx.so.4.2.2 38f4003000-38f4004000 rw-p 3000 08:08 1445087 /usr/lib64/libgmpxx.so.4.2.2 38f420-38f42f5000 r-xp 08:08 1444200 /usr/lib64/libppl.so.9.0.0 38f42f5000-38f44f5000 ---p 000f5000 08:08 1444200 /usr/lib64/libppl.so.9.0.0 38f44f5000-38f44f6000 r--p 000f5000 08:08 1444200 /usr/lib64/libppl.so.9.0.0 38f44f6000-38f44f9000 rw-p 000f6000 08:08 1444200 /usr/lib64/libppl.so.9.0.0 38f460-38f461f000 r-xp 08:08 1440972 /usr/lib64/libcloog.so.0.0.0 38f461f000-38f481e000 ---p 0001f000 08:08 1440972 /usr/lib64/libcloog.so.0.0.0 38f481e000-38f481f000 r--p 0001e000 08:08 1440972 /usr/lib64/libcloog.so.0.0.0 38f481f000-38f482 rw-p 0001f000 08:08 1440972 /usr/lib64/libcloog.so.0.0.0 38f482-38f4822000 rw-p 00:00 0 38f4a0-38f4af9000 r-xp 08:08 1439477 /usr/lib64/libm-2.15.so 38f4af9000-38f4cf8000 ---p 000f9000 08:08 1439477 /usr/lib64/libm-2.15.so 38f4cf8000-38f4cf9000 r--p 000f8000 08:08 1439477 /usr/lib64/libm-2.15.so 38f4cf9000-38f4cfa000 rw-p 000f9000 08:08 1439477 /usr/lib64/libm-2.15.so 38f4e0-38f5216000 r-xp 08:08 1445908 /usr/lib64/libppl_c.so.4.0.0 38f5216000-38f5415000 ---p 00416000 08:08 1445908 /usr/lib64/libppl_c.so.4.0.0 38f5415000-38f5416000 r--p 00415000 08:08 1445908 /usr/lib64/libppl_c.so.4.0.0 38f5416000-38f541c000 rw-p 00416000 08:08 1445908 /usr/lib64/libppl_c.so.4.0.0 38f560-38f5665000 r-xp 08:08 1441767 /usr/lib64/libgmp.so.10.0.2 38f5665000-38f5864000 ---p 00065000 08:08 1441767 /usr/lib64/libgmp.so.10.0.2 38f5864000-38f586d000 rw-p 00064000 08:08 1441767 /usr/lib64/libgmp.so.10.0.2 38f5a0-38f5a04000 r-xp 08:08 1445028 /usr/lib64/libpwl.so.5.0.0 38f5a04000-38f5c03000 ---p 4000 08:08 1445028 /usr/lib64/libpwl.so.5.0.0
[Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638 --- Comment #11 from H.J. Lu hjl.tools at gmail dot com 2012-09-20 22:07:00 UTC --- ira-build.o is miscompiled at -O2.