public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
@ 2012-09-20 13:17 markus at trippelsdorf dot de
  2012-09-20 13:52 ` [Bug c/54638] " rguenth at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 13:17 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

             Bug #: 54638
           Summary: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken:
                    cc1: malloc(): memory corruption
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


With:
~/gcc/configure --disable-werror --disable-multilib --enable-checking=release
--enable-languages=c,c++

and:
make BOOT_CFLAGS="-march=native -O2 -pipe" STAGE1_CFLAGS="-march=native -O2
-pipe" CFLAGS_FOR_TARGET="-march=native -O2 -pipe"
CXXFLAGS_FOR_TARGET="-march=native -O2 -pipe" bootstrap

I get:
...
/var/tmp/gcc_build_dir/./gcc/xgcc -B/var/tmp/gcc_build_dir/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -march=native -O2 -pipe -O2 
-march=native -O2 -pipe -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -I. -I. -I../.././gcc -I/home/markus/gcc/libgcc
-I/home/markus/gcc/libgcc/. -I/home/markus/gcc/libgcc/../gcc
-I/home/markus/gcc/libgcc/../include -I/home/markus/gcc/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o _cmpdi2.o -MT _cmpdi2.o
-MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c /home/markus/gcc/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
*** glibc detected *** /var/tmp/gcc_build_dir/./gcc/cc1: malloc(): memory
corruption: 0x00000000014e8e10 ***

That happens with r191468 of trunk.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
@ 2012-09-20 13:52 ` rguenth at gcc dot gnu.org
  2012-09-20 14:02 ` markus at trippelsdorf dot de
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-20 13:52 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-09-20
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-20 13:52:17 UTC ---
Please specify -v output of that command (what does -march=native expand to?)
and attach preprocessed source.  Is that stage1 xgcc?


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
  2012-09-20 13:52 ` [Bug c/54638] " rguenth at gcc dot gnu.org
@ 2012-09-20 14:02 ` markus at trippelsdorf dot de
  2012-09-20 14:03 ` markus at trippelsdorf dot de
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 14:02 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 14:01:14 UTC ---
(In reply to comment #1)
> Please specify -v output of that command (what does -march=native expand to?)
> and attach preprocessed source.  Is that stage1 xgcc?

It also happens without -march=native. And yes, it's stage1 xgcc:

/var/tmp/gcc_build_dir/./gcc/xgcc -v -B/var/tmp/gcc_build_dir/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -march=native -O2 -pipe -O2
-march=native -O2 -pipe -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-fpic -I. -I. -I../.././gcc -I/home/markus/gcc/libgcc
-I/home/markus/gcc/libgcc/. -I/home/markus/gcc/libgcc/../gcc
-I/home/markus/gcc/libgcc/../include -I/home/markus/gcc/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _cmpdi2.o -MT _cmpdi2.o
-MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c /home/markus/gcc/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
Reading specs from /var/tmp/gcc_build_dir/./gcc/specs
COLLECT_GCC=/var/tmp/gcc_build_dir/./gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with: /home/markus/gcc/configure --disable-werror --disable-multilib
--enable-checking=release --enable-languages=c,c++
Thread model: posix
gcc version 4.7.2 20120920 (prerelease) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-B' '/var/tmp/gcc_build_dir/./gcc/' '-B'
'/usr/local/x86_64-unknown-linux-gnu/bin/' '-B'
'/usr/local/x86_64-unknown-linux-gnu/lib/' '-isystem'
'/usr/local/x86_64-unknown-linux-gnu/include' '-isystem'
'/usr/local/x86_64-unknown-linux-gnu/sys-include' '-march=native' '-O2' '-pipe'
'-O2' '-march=native' '-O2' '-pipe' '-D' 'IN_GCC' '-Wextra' '-Wall'
'-Wno-narrowing' '-Wwrite-strings' '-Wcast-qual' '-Wstrict-prototypes'
'-Wmissing-prototypes' '-Wold-style-definition' '-isystem' './include' '-g'
'-D' 'IN_LIBGCC2' '-fbuilding-libgcc' '-fno-stack-protector' '-fpic' '-I' '.'
'-I' '.' '-I' '../.././gcc' '-I' '/home/markus/gcc/libgcc' '-I'
'/home/markus/gcc/libgcc/.' '-I' '/home/markus/gcc/libgcc/../gcc' '-I'
'/home/markus/gcc/libgcc/../include' '-I'
'/home/markus/gcc/libgcc/config/libbid' '-D' 'ENABLE_DECIMAL_BID_FORMAT' '-D'
'HAVE_CC_TLS' '-D' 'USE_TLS' '-o' '_cmpdi2.o' '-MT' '_cmpdi2.o' '-MD' '-MP'
'-MF' '_cmpdi2.dep' '-D' 'L_cmpdi2' '-c' '-fvisibility=hidden' '-D'
'HIDE_EXPORTS'
 /var/tmp/gcc_build_dir/./gcc/cc1 -quiet -v -I . -I . -I ../.././gcc -I
/home/markus/gcc/libgcc -I /home/markus/gcc/libgcc/. -I
/home/markus/gcc/libgcc/../gcc -I /home/markus/gcc/libgcc/../include -I
/home/markus/gcc/libgcc/config/libbid -iprefix
/var/tmp/gcc_build_dir/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/ -isystem
/var/tmp/gcc_build_dir/./gcc/include -isystem
/var/tmp/gcc_build_dir/./gcc/include-fixed -MD _cmpdi2.d -MF _cmpdi2.dep -MP
-MT _cmpdi2.o -D IN_GCC -D IN_LIBGCC2 -D ENABLE_DECIMAL_BID_FORMAT -D
HAVE_CC_TLS -D USE_TLS -D L_cmpdi2 -D HIDE_EXPORTS -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -isystem ./include
/home/markus/gcc/libgcc/libgcc2.c -march=amdfam10 -mcx16 -msahf -mno-movbe
-mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop
-mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mlzcnt
-mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=64 --param
l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -quiet
-dumpbase libgcc2.c -auxbase-strip _cmpdi2.o -g -O2 -O2 -O2 -Wextra -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -version -fbuilding-libgcc
-fno-stack-protector -fpic -fvisibility=hidden -o - |
 /var/tmp/gcc_build_dir/./gcc/as -v -I . -I . -I ../.././gcc -I
/home/markus/gcc/libgcc -I /home/markus/gcc/libgcc/. -I
/home/markus/gcc/libgcc/../gcc -I /home/markus/gcc/libgcc/../include -I
/home/markus/gcc/libgcc/config/libbid --64 -o _cmpdi2.o
GNU assembler version 2.23.51 (x86_64-pc-linux-gnu) using BFD version (GNU
Binutils) 2.23.51.20120914
GNU C (GCC) version 4.7.2 20120920 (prerelease) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.0 20120920 (experimental), GMP version
5.0.5, MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/x86_64-unknown-linux-gnu/include"
ignoring nonexistent directory
"/usr/local/x86_64-unknown-linux-gnu/sys-include"
ignoring nonexistent directory "./include"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/include"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed"
ignoring nonexistent directory
"/var/tmp/gcc_build_dir/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "/home/markus/gcc/libgcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../.././gcc
 /home/markus/gcc/libgcc
 /home/markus/gcc/libgcc/../gcc
 /home/markus/gcc/libgcc/../include
 /home/markus/gcc/libgcc/config/libbid
 /var/tmp/gcc_build_dir/./gcc/include
 /var/tmp/gcc_build_dir/./gcc/include-fixed
 /usr/local/include
 /usr/include
End of search list.
GNU C (GCC) version 4.7.2 20120920 (prerelease) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.0 20120920 (experimental), GMP version
5.0.5, MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d3079c9e650d188865673f87bd2f25ec
*** glibc detected *** /var/tmp/gcc_build_dir/./gcc/cc1: malloc(): memory
corruption: 0x0000000002601000 ***


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
  2012-09-20 13:52 ` [Bug c/54638] " rguenth at gcc dot gnu.org
  2012-09-20 14:02 ` markus at trippelsdorf dot de
@ 2012-09-20 14:03 ` markus at trippelsdorf dot de
  2012-09-20 14:09 ` markus at trippelsdorf dot de
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 14:03 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 14:03:00 UTC ---
Created attachment 28229
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28229
preprocessed testfile


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (2 preceding siblings ...)
  2012-09-20 14:03 ` markus at trippelsdorf dot de
@ 2012-09-20 14:09 ` markus at trippelsdorf dot de
  2012-09-20 14:12 ` rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 14:09 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 14:09:00 UTC ---
 libgcc % /var/tmp/gcc_build_dir/./gcc/cc1 libgcc2.i
 vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar
fputc_unlocked putc_unlocked putchar_unlocked getline feof_unlocked
ferror_unlocked __bswap_32 __bswap_64 gnu_dev_major gnu_dev_minor
gnu_dev_makedev __strcspn_c1 __strcspn_c2 __strcspn_c3 __strspn_c1 __strspn_c2
__strspn_c3 __strpbrk_c2 __strpbrk_c3 __strtok_r_1c __strsep_1c __strsep_2c
__strsep_3c atof atoi atol atoll __cmpti2
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups>
<whole-program>Assembling functions:
 __cmpti2*** glibc detected *** /var/tmp/gcc_build_dir/./gcc/cc1: corrupted
double-linked list: 0x0000000002f7c2c0 ***


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (3 preceding siblings ...)
  2012-09-20 14:09 ` markus at trippelsdorf dot de
@ 2012-09-20 14:12 ` rguenth at gcc dot gnu.org
  2012-09-20 14:14 ` markus at trippelsdorf dot de
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-20 14:12 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-20 14:11:34 UTC ---
That means GCC 4.8 miscompiles stage1 GCC 4.7 with flags -march=native -O2
(just to be sure - also without -march=native for STAGE1_CFLAGS?)


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (4 preceding siblings ...)
  2012-09-20 14:12 ` rguenth at gcc dot gnu.org
@ 2012-09-20 14:14 ` markus at trippelsdorf dot de
  2012-09-20 14:31 ` markus at trippelsdorf dot de
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 14:14 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #6 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 14:13:19 UTC ---
(In reply to comment #5)
> That means GCC 4.8 miscompiles stage1 GCC 4.7 with flags -march=native -O2
> (just to be sure - also without -march=native for STAGE1_CFLAGS?)

Yes the following also leads to corruption:
make -j4 BOOT_CFLAGS="-O2 -pipe" STAGE1_CFLAGS="-O2 -pipe"
CFLAGS_FOR_TARGET="-O2 -pipe" CXXFLAGS_FOR_TARGET="-O2 -pipe" bootstrap


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (5 preceding siblings ...)
  2012-09-20 14:14 ` markus at trippelsdorf dot de
@ 2012-09-20 14:31 ` markus at trippelsdorf dot de
  2012-09-20 17:53 ` markus at trippelsdorf dot de
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 14:31 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #7 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 14:30:55 UTC ---
Assembling functions:
 __cmpti2
Program received signal SIGSEGV, Segmentation fault.
0x0000000000673bb1 in ira_build ()
(gdb) bt
#0  0x0000000000673bb1 in ira_build ()
#1  0x000000000066e1b7 in rest_of_handle_ira () at
/home/markus/gcc/gcc/ira.c:3626
#2  0x00000000006cc028 in execute_one_pass ()
#3  0x00000000006cc385 in execute_pass_list ()
#4  0x00000000006cc397 in execute_pass_list ()
#5  0x00000000007a4d89 in tree_rest_of_compilation ()
#6  0x0000000000554cca in cgraph_expand_function ()
#7  0x0000000000556712 in cgraph_optimize ()
#8  0x000000000055697a in cgraph_finalize_compilation_unit ()
#9  0x0000000000496a49 in c_write_global_declarations ()
#10 0x000000000075e9e8 in toplev_main ()
#11 0x00007ffff746d755 in __libc_start_main () from /lib/libc.so.6
#12 0x0000000000485b79 in _start ()


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (6 preceding siblings ...)
  2012-09-20 14:31 ` markus at trippelsdorf dot de
@ 2012-09-20 17:53 ` markus at trippelsdorf dot de
  2012-09-20 19:52 ` [Bug middle-end/54638] " hjl.tools at gmail dot com
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-20 17:53 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638

--- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-20 17:52:11 UTC ---
4.6.3 also fails to build with the same error. 
I guess 4.8 would also fail if it still could be build without C++.

 %  ~/gcc/configure --disable-werror --disable-multilib
--enable-checking=release --enable-languages=c --disable-bootstrap
 % make

is sufficient to reproduce.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (7 preceding siblings ...)
  2012-09-20 17:53 ` markus at trippelsdorf dot de
@ 2012-09-20 19:52 ` hjl.tools at gmail dot com
  2012-09-20 20:33 ` hjl.tools at gmail dot com
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: hjl.tools at gmail dot com @ 2012-09-20 19:52 UTC (permalink / raw)
  To: gcc-bugs


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (8 preceding siblings ...)
  2012-09-20 19:52 ` [Bug middle-end/54638] " hjl.tools at gmail dot com
@ 2012-09-20 20:33 ` hjl.tools at gmail dot com
  2012-09-20 22:07 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: hjl.tools at gmail dot com @ 2012-09-20 20:33 UTC (permalink / raw)
  To: gcc-bugs


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:
0x0000000001aa9870 ***
======= 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: ========
00400000-00fa5000 r-xp 00000000 08:11 15101988                          
/export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1
011a5000-011b0000 rw-p 00ba5000 08:11 15101988                          
/export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1
011b0000-0130f000 rw-p 00000000 00:00 0 
01a8f000-01b98000 rw-p 00000000 00:00 0                                  [heap]
38f3600000-38f3621000 r-xp 00000000 08:08 1439025                       
/usr/lib64/ld-2.15.so
38f3820000-38f3821000 r--p 00020000 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 00000000 00:00 0 
38f3a00000-38f3bac000 r-xp 00000000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3bac000-38f3dac000 ---p 001ac000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3dac000-38f3db0000 r--p 001ac000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3db0000-38f3db2000 rw-p 001b0000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3db2000-38f3db7000 rw-p 00000000 00:00 0 
38f3e00000-38f3e03000 r-xp 00000000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f3e03000-38f4003000 ---p 00003000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f4003000-38f4004000 rw-p 00003000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f4200000-38f42f5000 r-xp 00000000 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
38f4600000-38f461f000 r-xp 00000000 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-38f4820000 rw-p 0001f000 08:08 1440972                       
/usr/lib64/libcloog.so.0.0.0
38f4820000-38f4822000 rw-p 00000000 00:00 0 
38f4a00000-38f4af9000 r-xp 00000000 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
38f4e00000-38f5216000 r-xp 00000000 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
38f5600000-38f5665000 r-xp 00000000 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
38f5a00000-38f5a04000 r-xp 00000000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5a04000-38f5c03000 ---p 00004000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5c03000-38f5c04000 r--p 00003000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5c04000-38f5c05000 rw-p 00004000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5e00000-38f5e57000 r-xp 00000000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f5e57000-38f6056000 ---p 00057000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f6056000-38f6058000 r--p 00056000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f6058000-38f6059000 rw-p 00058000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f7200000-38f7215000 r-xp 00000000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f7215000-38f7414000 ---p 00015000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f7414000-38f7415000 rw-p 00014000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f9e00000-38f9ee5000 r-xp 00000000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38f9ee5000-38fa0e4000 ---p 000e5000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0e4000-38fa0ec000 r--p 000e4000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0ec000-38fa0ee000 rw-p 000ec000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0ee000-38fa103000 rw-p 00000000 00:00 0 
7fe8f5f3c000-7fe8f6173000 rw-p 00000000 00:00 0 
7fe8f6173000-7fe8fc5a0000 r--p 00000000 08:08 1444107                   
/usr/lib/locale/locale-archive
7fe8fc5a0000-7fe8fc5a6000 rw-p 00000000 00:00 0 
7fe8fc5a6000-7fe8fc5bd000 r-xp 00000000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc5bd000-7fe8fc7bc000 ---p 00017000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc7bc000-7fe8fc7bd000 rw-p 00016000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc7bd000-7fe8fc7be000 rw-p 00000000 00:00 0 
7fe8fc7be000-7fe8fc7c1000 r-xp 00000000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc7c1000-7fe8fc9c0000 ---p 00003000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c0000-7fe8fc9c1000 r--p 00002000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c1000-7fe8fc9c2000 rw-p 00003000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c2000-7fe8fc9c3000 rw-p 00000000 00:00 0 
7fe8fc9c3000-7fe8fc9d7000 r-xp 00000000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fc9d7000-7fe8fcbd6000 ---p 00014000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd6000-7fe8fcbd7000 r--p 00013000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd7000-7fe8fcbd8000 rw-p 00014000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd8000-7fe8fcbd9000 rw-p 00000000 00:00 0 
7fe8fcbf9000-7fe8fcbfb000 rw-p 00000000 00:00 0 
7fff7de71000-7fff7de92000 rw-p 00000000 00:00 0                         
[stack]
7fff7df78000-7fff7df79000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
*** glibc detected *** ./cc1: malloc(): smallbin double linked list corrupted:
0x0000000001aa9870 ***
======= 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]
/lib64/libc.so.6(gsignal+0x35)[0x38f3a35825]
/lib64/libc.so.6(abort+0x148)[0x38f3a36fd8]
/lib64/libc.so.6[0x38f3a74d3b]
/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: ========
00400000-00fa5000 r-xp 00000000 08:11 15101988                          
/export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1
011a5000-011b0000 rw-p 00ba5000 08:11 15101988                          
/export/project/git/gcc-regression/gcc-test-bld.bad/gcc/cc1
011b0000-0130f000 rw-p 00000000 00:00 0 
01a8f000-01b98000 rw-p 00000000 00:00 0                                  [heap]
38f3600000-38f3621000 r-xp 00000000 08:08 1439025                       
/usr/lib64/ld-2.15.so
38f3820000-38f3821000 r--p 00020000 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 00000000 00:00 0 
38f3a00000-38f3bac000 r-xp 00000000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3bac000-38f3dac000 ---p 001ac000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3dac000-38f3db0000 r--p 001ac000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3db0000-38f3db2000 rw-p 001b0000 08:08 1439038                       
/usr/lib64/libc-2.15.so
38f3db2000-38f3db7000 rw-p 00000000 00:00 0 
38f3e00000-38f3e03000 r-xp 00000000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f3e03000-38f4003000 ---p 00003000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f4003000-38f4004000 rw-p 00003000 08:08 1445087                       
/usr/lib64/libgmpxx.so.4.2.2
38f4200000-38f42f5000 r-xp 00000000 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
38f4600000-38f461f000 r-xp 00000000 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-38f4820000 rw-p 0001f000 08:08 1440972                       
/usr/lib64/libcloog.so.0.0.0
38f4820000-38f4822000 rw-p 00000000 00:00 0 
38f4a00000-38f4af9000 r-xp 00000000 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
38f4e00000-38f5216000 r-xp 00000000 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
38f5600000-38f5665000 r-xp 00000000 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
38f5a00000-38f5a04000 r-xp 00000000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5a04000-38f5c03000 ---p 00004000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5c03000-38f5c04000 r--p 00003000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5c04000-38f5c05000 rw-p 00004000 08:08 1445028                       
/usr/lib64/libpwl.so.5.0.0
38f5e00000-38f5e57000 r-xp 00000000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f5e57000-38f6056000 ---p 00057000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f6056000-38f6058000 r--p 00056000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f6058000-38f6059000 rw-p 00058000 08:08 1441613                       
/usr/lib64/libmpfr.so.4.1.0
38f7200000-38f7215000 r-xp 00000000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f7215000-38f7414000 ---p 00015000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f7414000-38f7415000 rw-p 00014000 08:08 1441563                       
/usr/lib64/libgcc_s-4.7.1-20120629.so.1
38f9e00000-38f9ee5000 r-xp 00000000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38f9ee5000-38fa0e4000 ---p 000e5000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0e4000-38fa0ec000 r--p 000e4000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0ec000-38fa0ee000 rw-p 000ec000 08:08 1441577                       
/usr/lib64/libstdc++.so.6.0.17
38fa0ee000-38fa103000 rw-p 00000000 00:00 0 
7fe8f5f3b000-7fe8f5f3c000 rw-p 00000000 00:00 0 
7fe8f5f3d000-7fe8f6173000 rw-p 00000000 00:00 0 
7fe8f6173000-7fe8fc5a0000 r--p 00000000 08:08 1444107                   
/usr/lib/locale/locale-archive
7fe8fc5a0000-7fe8fc5a6000 rw-p 00000000 00:00 0 
7fe8fc5a6000-7fe8fc5bd000 r-xp 00000000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc5bd000-7fe8fc7bc000 ---p 00017000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc7bc000-7fe8fc7bd000 rw-p 00016000 08:08 1441072                   
/usr/lib64/libz.so.1.2.5
7fe8fc7bd000-7fe8fc7be000 rw-p 00000000 00:00 0 
7fe8fc7be000-7fe8fc7c1000 r-xp 00000000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc7c1000-7fe8fc9c0000 ---p 00003000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c0000-7fe8fc9c1000 r--p 00002000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c1000-7fe8fc9c2000 rw-p 00003000 08:08 1439482                   
/usr/lib64/libdl-2.15.so
7fe8fc9c2000-7fe8fc9c3000 rw-p 00000000 00:00 0 
7fe8fc9c3000-7fe8fc9d7000 r-xp 00000000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fc9d7000-7fe8fcbd6000 ---p 00014000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd6000-7fe8fcbd7000 r--p 00013000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd7000-7fe8fcbd8000 rw-p 00014000 08:08 1447989                   
/usr/lib64/libmpc.so.2.0.0
7fe8fcbd8000-7fe8fcbd9000 rw-p 00000000 00:00 0 
7fe8fcbf9000-7fe8fcbfb000 rw-p 00000000 00:00 0 
7fff7de71000-7fff7de92000 rw-p 00000000 00:00 0                         
[stack]
7fff7df78000-7fff7df79000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
xgcc: internal compiler error: Aborted (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (9 preceding siblings ...)
  2012-09-20 20:33 ` hjl.tools at gmail dot com
@ 2012-09-20 22:07 ` hjl.tools at gmail dot com
  2012-09-21  8:57 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: hjl.tools at gmail dot com @ 2012-09-20 22:07 UTC (permalink / raw)
  To: gcc-bugs


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.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (10 preceding siblings ...)
  2012-09-20 22:07 ` hjl.tools at gmail dot com
@ 2012-09-21  8:57 ` rguenth at gcc dot gnu.org
  2012-09-21  9:01 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21  8:57 UTC (permalink / raw)
  To: gcc-bugs


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).


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (11 preceding siblings ...)
  2012-09-21  8:57 ` rguenth at gcc dot gnu.org
@ 2012-09-21  9:01 ` rguenth at gcc dot gnu.org
  2012-09-21 10:09 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21  9:01 UTC (permalink / raw)
  To: gcc-bugs


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  <rguenther@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.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (13 preceding siblings ...)
  2012-09-21 10:09 ` rguenth at gcc dot gnu.org
@ 2012-09-21 10:09 ` rguenth at gcc dot gnu.org
  2012-09-21 10:10 ` rguenth at gcc dot gnu.org
  2013-04-12 19:13 ` pinskia at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21 10:09 UTC (permalink / raw)
  To: gcc-bugs


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=gcc&view=rev&rev=191606
Log:
2012-09-21  Richard Guenther  <rguenther@suse.de>

    PR middle-end/54638
    Backport from mainline
    2012-04-19  Richard Guenther  <rguenther@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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (12 preceding siblings ...)
  2012-09-21  9:01 ` rguenth at gcc dot gnu.org
@ 2012-09-21 10:09 ` rguenth at gcc dot gnu.org
  2012-09-21 10:09 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21 10:09 UTC (permalink / raw)
  To: gcc-bugs


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=gcc&view=rev&rev=191605
Log:
2012-09-21  Richard Guenther  <rguenther@suse.de>

    PR middle-end/54638
    Backport from mainline
    2012-04-19  Richard Guenther  <rguenther@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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (14 preceding siblings ...)
  2012-09-21 10:09 ` rguenth at gcc dot gnu.org
@ 2012-09-21 10:10 ` rguenth at gcc dot gnu.org
  2013-04-12 19:13 ` pinskia at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21 10:10 UTC (permalink / raw)
  To: gcc-bugs


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.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug middle-end/54638] [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
  2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
                   ` (15 preceding siblings ...)
  2012-09-21 10:10 ` rguenth at gcc dot gnu.org
@ 2013-04-12 19:13 ` pinskia at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-12 19:13 UTC (permalink / raw)
  To: gcc-bugs


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. ***


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-04-12 19:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 13:17 [Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption markus at trippelsdorf dot de
2012-09-20 13:52 ` [Bug c/54638] " rguenth at gcc dot gnu.org
2012-09-20 14:02 ` markus at trippelsdorf dot de
2012-09-20 14:03 ` markus at trippelsdorf dot de
2012-09-20 14:09 ` markus at trippelsdorf dot de
2012-09-20 14:12 ` rguenth at gcc dot gnu.org
2012-09-20 14:14 ` markus at trippelsdorf dot de
2012-09-20 14:31 ` markus at trippelsdorf dot de
2012-09-20 17:53 ` markus at trippelsdorf dot de
2012-09-20 19:52 ` [Bug middle-end/54638] " hjl.tools at gmail dot com
2012-09-20 20:33 ` hjl.tools at gmail dot com
2012-09-20 22:07 ` hjl.tools at gmail dot com
2012-09-21  8:57 ` rguenth at gcc dot gnu.org
2012-09-21  9:01 ` rguenth at gcc dot gnu.org
2012-09-21 10:09 ` rguenth at gcc dot gnu.org
2012-09-21 10:09 ` rguenth at gcc dot gnu.org
2012-09-21 10:10 ` rguenth at gcc dot gnu.org
2013-04-12 19:13 ` pinskia at gcc dot gnu.org

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).