[Bug middle-end/48441] New: [4.7 Regression] ICE in mark_oprs_set

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 4 22:27:00 GMT 2011


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

           Summary: [4.7 Regression] ICE in mark_oprs_set
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa*-*-*
            Target: hppa*-*-*
             Build: hppa*-*-*


/home/dave/gnu/gcc/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/objdir/./prev-gcc/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux/sys-include     -I../../gcc/libcpp
-I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include  -g -O2 -W -Wall
-Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long -Werror -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include
-I../../gcc/libcpp/include  -c -o charset.o -MT char
set.o -MMD -MP -MF .deps/charset.Tpo ../../gcc/libcpp/charset.c

../../gcc/libcpp/charset.c: In function 'convert_utf16_utf8':
../../gcc/libcpp/charset.c:524:1: internal compiler error: Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x0343fb28 in mark_oprs_set (insn=0x407a5c30) at ../../gcc/gcc/cprop.c:543
543      for (def_rec = DF_INSN_INFO_DEFS (insn_info); *def_rec; def_rec++)
(gdb) bt
#0  0x0343fb28 in mark_oprs_set (insn=0x407a5c30) at ../../gcc/gcc/cprop.c:543
#1  0x03443024 in one_cprop_pass () at ../../gcc/gcc/cprop.c:1802
#2  0x03443320 in execute_rtl_cprop () at ../../gcc/gcc/cprop.c:1853
#3  0x013714f0 in execute_one_pass (pass=0x42e7820)
    at ../../gcc/gcc/passes.c:1555
#4  0x01371870 in execute_pass_list (pass=0x42e7820)
    at ../../gcc/gcc/passes.c:1610
#5  0x01371898 in execute_pass_list (pass=0x42e7820)
    at ../../gcc/gcc/passes.c:1611
#6  0x01371898 in execute_pass_list (pass=0x42e7820)
    at ../../gcc/gcc/passes.c:1611
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

dave@hiauly6:~/gnu/gcc/objdir/prev-gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--prefix=/home/dave/opt/gnu/gcc/gcc-4.7.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu
--enable-java-gc=boehm --enable-java-awt=xlib --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
Thread model: posix
gcc version 4.7.0 20110404 (experimental) [trunk revision 171950] (GCC)



More information about the Gcc-bugs mailing list