This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 19991122 chk-ICE at dwarfout.c:1178 compiling gcc/frame.c on i586-pc-unixware7


Title: RE: 19991122 chk-ICE at dwarfout.c:1178 compiling gcc/frame.c on i586-pc-unixware7

> i586-pc-unixware7 --target=i586-pc-unixware7 --with-gnu-as
> --enable-checking

>     ./xgcc -B/usr/local/i586-pc-unixware7/bin/ -B./
> -I/usr/local/i586-pc-unixware7/include -O2   -DIN_GCC    -g
> -W -Wall -I./include  -fPIC -g1  -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED  -I. -I../../egcs-19991122/gcc
> -I../../egcs-19991122/gcc/config
> -I../../egcs-19991122/gcc/../include -c ${file}; \
>     if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>     ` if [ -f /devel/src/egcs-19991122.chk/gcc/../binutils/ar
> ] ; then echo /devel/src/egcs-19991122.chk/gcc/../binutils/ar
> ; else if [ "i586-pc-sysv4.2uw" = "i586-pc-sysv4.2uw" ] ;
> then echo ar; else t='s,^,i586-pc-unixware7-,'; echo ar | sed
> -e $t ; fi; fi` rc tmplibgcc2.a ${oname}.o; \
>     rm -f ${name}.s ${oname}.o; \
>   fi; \
> done
> ../../egcs-19991122/gcc/frame
> ../../egcs-19991122/gcc/frame.c: In function `fde_split':
> ../../egcs-19991122/gcc/frame.c:874: Internal compiler error
> in `decl_ultimate_origin', at dwarfout.c:1178
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport>
> for instructions.
> make[2]: *** [libgcc2.a] Error 1
> make[2]: Leaving directory `/devel/src/egcs-19991122.chk/gcc'

In building 19991214 I tried without --with-gnu-as and got similar
ICEs in dwarf2out.c - but not from frame.c

i586-sco-sysv5uw7.1.0 --enable-checking

stage1/xgcc -Bstage1/ -B/usr/local/i586-sco-sysv5uw7.1.0/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../egcs-19991214/gcc -I../../egcs-19991214/gcc/config -I../../egcs-19991214/gcc/../include ../../egcs-19991214/gcc/bitmap.c

../../egcs-19991214/gcc/bitmap.c: In function `bitmap_clear':
../../egcs-19991214/gcc/bitmap.c:673: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[2]: *** [bitmap.o] Error 1
make[2]: Leaving directory `/devel/src/egcs-19991214.chk/gcc'


 stage1/cc1 bitmap.i -quiet -dumpbase bitmap.c -g -O2 -O2 -W -Wall -Wtraditional -version -o bitmap.s
GNU C version 2.96 19991214 (experimental) (i586-sco-sysv5uw7.1.0) compiled by GNU C version 2.95.2 19991024 (release).
../../egcs-19991214/gcc/bitmap.c: In function `bitmap_clear':
../../egcs-19991214/gcc/bitmap.c:673: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527
Please submit a full bug report.

GNU C version 2.96 19991214 (experimental) (i586-sco-sysv5uw7.1.0) compiled by GNU C version 2.95.2 19991024 (release).

Breakpoint 5, decl_ultimate_origin (decl=0xbfd09f80)
    at ../../egcs-19991214/gcc/dwarf2out.c:3527
3527        abort ();
#0  decl_ultimate_origin (decl=0xbfd09f80)
    at ../../egcs-19991214/gcc/dwarf2out.c:3527
#1  0x81cac5d in gen_decl_die (decl=0xbfd09f80, context_die=0x875e030)
    at ../../egcs-19991214/gcc/dwarf2out.c:9416
#2  0x81cb3ea in dwarf2out_decl (decl=0xbfd09f80)
    at ../../egcs-19991214/gcc/dwarf2out.c:9666
#3  0x804f778 in rest_of_compilation (decl=0xbfd09f80)
    at ../../egcs-19991214/gcc/toplev.c:4477
#4  0x82068a7 in output_inline_function (fndecl=0xbfd09f80)
    at ../../egcs-19991214/gcc/integrate.c:2551
#5  0x804b704 in wrapup_global_declarations (vec=0x8797f10, len=1802)
    at ../../egcs-19991214/gcc/toplev.c:2736
#6  0x804c878 in compile_file (name=0xbff5dda0 ":")
    at ../../egcs-19991214/gcc/toplev.c:3278
#7  0x80515bf in main (argc=14, argv=0x8047cd4)
    at ../../egcs-19991214/gcc/toplev.c:5611
#8  0x80490ed in _start ()
3522   
3523    #ifdef ENABLE_CHECKING
3524      if (DECL_FROM_INLINE (DECL_ORIGIN (decl)))
3525        /* Since the DECL_ABSTRACT_ORIGIN for a DECL is supposed to be the
3526           most distant ancestor, this should never happen.  */
3527        abort ();
3528    #endif
3529   
3530      return DECL_ABSTRACT_ORIGIN (decl);
3531    }
(gdb) ptype decl
type = union tree_node {
...
} *
(gdb) call debug_tree(decl)
 <function_decl bfd09f80 bitmap_clear
    type <function_type bfd09f00
        type <void_type bff73900 void
            asm_written permanent VOID
            size <integer_cst bff711c0 constant permanent 0>
            align 8 symtab 0 alias set -1
            pointer_to_this <pointer_type bff73980 __builtin_va_list>>
      
        permanent DI
        size <integer_cst bfd07460 constant permanent 64>
        align 32 symtab 0 alias set 0
        arg-types <tree_list bfd073e0
            permanent value <pointer_type bfd09a00 bitmap>
            chain <tree_list bfd07400
                permanent value <void_type bff73900 void>>>
        pointer_to_this <pointer_type bfe7df00>>
  
    asm_written used permanent public static QI file ../../egcs-19991214/gcc/bitmap.c line 219
    abstract_origin <function_decl bfd09f80 bitmap_clear>
    arguments <parm_decl bfec7000 head
        type <pointer_type bfd09a00 bitmap type <record_type bfedb100 bitmap_head_def>
          
            unsigned permanent SI
            size <integer_cst bff77340 constant permanent 32>
            align 32 symtab 142099736 alias set 18>
      
        readonly unsigned used common SI file ../../egcs-19991214/gcc/bitmap.c line 219 size <integer_cst bff77340 32>
        align 32 context <function_decl bfd09f80 bitmap_clear> abstract_origin <parm_decl bfec7000 head> result <error_mark bff7d330> initial <pointer_type bfd09a00 bitmap>

        (reg/v:SI 3 ebx)
        incoming-rtl (mem/f:SI (reg:SI 16 argp) 18)>
    result <result_decl bfe85800 type <void_type bff73900 void>
      
        permanent VOID file ../../egcs-19991214/gcc/bitmap.c line 219 size <integer_cst bff711c0 0>
        align 8 context <function_decl bfd09f80 bitmap_clear>> initial <block bfedde20>
    (mem/f:QI (symbol_ref:SI ("bitmap_clear")) 0)
    saved-insns 8777220 chain <var_decl bfd09e00 bitmap_zero>>
(gdb) c
Continuing.

../../egcs-19991214/gcc/bitmap.c: In function `bitmap_clear':
../../egcs-19991214/gcc/bitmap.c:673: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.


Continuing the build by turning off -g for those failing gave the
following list.

../../egcs-19991214/gcc/bitmap.c: In function `bitmap_clear':
../../egcs-19991214/gcc/bitmap.c:673: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../egcs-19991214/gcc/haifa-sched.c: In function `schedule_unit':
../../egcs-19991214/gcc/haifa-sched.c:7048: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../egcs-19991214/gcc/c-lex.c: In function `is_reserved_word':
../../egcs-19991214/gcc/c-lex.c:2457: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../../egcs-19991214/gcc/ch/lex.c: In function `in_word_set':
../../../egcs-19991214/gcc/ch/lex.c:2233: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../../egcs-19991214/gcc/cp/decl.c: In function `auto_function':
../../../egcs-19991214/gcc/cp/decl.c:14350: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../../egcs-19991214/gcc/cp/lex.c: In function `identifier_type':
../../../egcs-19991214/gcc/cp/lex.c:4886: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../../egcs-19991214/gcc/cp/method.c: In function `icat':
../../../egcs-19991214/gcc/cp/method.c:2464: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527

../../../egcs-19991214/gcc/java/parse.c
./parse.y: In function `java_keyword':
./parse.y:12177: Internal compiler error in `decl_ultimate_origin', at dwarf2out.c:3527


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]