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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-11-09
            Summary|[4.7 Regression]:           |[4.7 Regression]:
                   |gfortran.dg/alloc_comp_clas |gfortran.dg/alloc_comp_clas
                   |s_2.f90  -O1 ICE            |s_2.f90
                   |                            |gfortran.dg/widechar_intrin
                   |                            |sics_10.f90 -O1 ICE
     Ever Confirmed|0                           |1

--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-11-09 
00:13:09 UTC ---
There's another similar regression that appears to be because of the same bug:
FAIL: gfortran.dg/widechar_intrinsics_10.f90  -O1  (internal compiler error)
FAIL: gfortran.dg/widechar_intrinsics_10.f90  -O1  (test for excess errors)
WARNING: gfortran.dg/widechar_intrinsics_10.f90  -O1  compilation failed to
produce executable

with gdb saying:

(gdb) r
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gfortran.dg/widechar_intrinsics_10.f90
-isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include
-isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -melf -quiet -dumpbase
widechar_intrinsics_10.f90 -auxbase widechar_intrinsics_10 -O1 -version
-fbackslash -fintrinsic-modules-path finclude -o widechar_intrinsics_10.s
Starting program: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/f951
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gfortran.dg/widechar_intrinsics_10.f90
-isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include
-isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -melf -quiet -dumpbase
widechar_intrinsics_10.f90 -auxbase widechar_intrinsics_10 -O1 -version
-fbackslash -fintrinsic-modules-path finclude -o widechar_intrinsics_10.s
GNU Fortran (GCC) version 4.7.0 20111108 (experimental) [trunk revision 181179]
(cris-elf)
        compiled by GNU C version 4.4.3 20100127 (Red Hat 4.4.3-4), GMP version
4.3.0, MPFR version 2.4.1, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.7.0 20111108 (experimental) [trunk revision 181179]
(cris-elf)
        compiled by GNU C version 4.4.3 20100127 (Red Hat 4.4.3-4), GMP version
4.3.0, MPFR version 2.4.1, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Program received signal SIGSEGV, Segmentation fault.
note_stores (x=0xa5a5a5a5a5a5a5a5, fun=0xafd160 <note_add_store>,
data=0x7fffffffda40)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:1477
1477      if (GET_CODE (x) == COND_EXEC)
(gdb) p x
$1 = (const struct rtx_def *) 0xa5a5a5a5a5a5a5a5
(gdb) up
#1  0x0000000000afd11e in emit_inc_dec_insn_before (mem=<value optimized out>,
op=<value optimized out>, 
    dest=<value optimized out>, src=<value optimized out>, srcoff=<value
optimized out>, arg=<value optimized out>)
    at /tmp/hpautotest-gcc1/gcc/gcc/dse.c:907
907           note_stores (PATTERN (cur), note_add_store, &info);
(gdb) p cur
$2 = (struct rtx_def *) 0x7ffff7d7eb40
(gdb) pr
(set (reg/f:SI 12 r12 [2566])
    (plus:SI (reg/f:SI 12 r12 [2566])
        (const_int 4 [0x4])))

Reply via email to