3.1 20011027 ICE at sched-rgn.c:2942 compiling complex_io.cc on hppa2.0-hp-hpux10.20

rbrown64@csc.com.au rbrown64@csc.com.au
Sun Oct 28 20:08:00 GMT 2001


hppa2.0-hp-hpux10.20 --with-gnu-as --with-as=/usr/local/bin/as

/devel/span/rdb/src/gcc-3.1-experimental/gcc/xgcc -B/devel/span/rdb/src/gcc-3.1-experimental/gcc/ -nostdinc++
-L/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/src
-L/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/src/.libs -B/usr/local/hppa2.0-hp-hpux10.20/bin/
-B/usr/local/hppa2.0-hp-hpux10.20/lib/ -isystem /usr/local/hppa2.0-hp-hpux10.20/include -nostdinc++
-I/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/hppa2.0-hp-hpux10.20
-I/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++
-I../../../../gcc/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once
-g -c ../../../../gcc/libstdc++-v3/src/complex_io.cc  -fPIC -DPIC -o .libs/complex_io.o
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h: In
   function `std::basic_ostream<_CharT, _Traits>&
   std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::complex<_Tp>&) [with _Tp = float, _CharT = char, _Traits =
   std::char_traits<char>]':
../../../../gcc/libstdc++-v3/src/complex_io.cc:41:   instantiated from here
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h:387: Internal compiler error in schedule_insns,
at sched-rgn.c:2942
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[4]: *** [complex_io.lo] Error 1
make[4]: Leaving directory `/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/src'


 /devel/span/rdb/src/gcc-3.1-experimental/gcc/cc1plus -fpreprocessed complex_io.ii -quiet -dumpbase complex_io.cc -g -g -O2 -Wall -Wno-format -W
-Wwrite-strings -Winline -version -fno-implicit-templates -fdiagnostics-show-location=once -fPIC -o complex_io.s
GNU CPP version 3.1 20011027 (experimental) (cpplib) (hppa)
GNU C++ version 3.1 20011027 (experimental) (hppa2.0-hp-hpux10.20)
     compiled by GNU C version 3.1 20011027 (experimental).
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h: In
   function `std::basic_ostream<_CharT, _Traits>&
   std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::complex<_Tp>&) [with _Tp = float, _CharT = char, _Traits =
   std::char_traits<char>]':
../../../../gcc/libstdc++-v3/src/complex_io.cc:41:   instantiated from here
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h:387: Internal
   compiler error in schedule_insns, at sched-rgn.c:2942
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

bash-2.02$ pwd
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/src
bash-2.02$ ~/bin/gdb ../../../gcc/cc1plus
GNU gdb 4.95.1
..
This GDB was configured as "hppa2.0-hp-hpux10.20"...
...
(gdb) r
Starting program: /devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/src/../../../gcc/cc1plus $(cat ../../../tmp.ice)
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
Breakpoint 3 at 0x371a08: file obstack.c, line 450.
Breakpoint 4 at 0x3630dc: file ../../gcc/gcc/cpplib.c, line 898.
Breakpoint 3 at 0x7af4bd5c
Breakpoint 4 at 0x7af42a78
GNU CPP version 3.1 20011027 (experimental) (cpplib) (hppa)
GNU C++ version 3.1 20011027 (experimental) (hppa2.0-hp-hpux10.20)
     compiled by GNU C version 3.1 20011027 (experimental).

Breakpoint 1, schedule_insns (dump_file=0x0) at ../../gcc/gcc/sched-rgn.c:2942
2942        abort ();
(gdb) bt
#0  schedule_insns (dump_file=0x0) at ../../gcc/gcc/sched-rgn.c:2942
#1  0x2017d4 in rest_of_compilation (decl=0x7a736708)
    at ../../gcc/gcc/toplev.c:3387
#2  0x13a43c in genrtl_finish_function (fn=0x7a736708)
    at ../../gcc/gcc/cp/semantics.c:2755
#3  0x139908 in expand_body (fn=0x7a736708)
    at ../../gcc/gcc/cp/semantics.c:2514
#4  0xb9c40 in instantiate_decl (d=0x7a736708, defer_ok=0)
    at ../../gcc/gcc/cp/pt.c:9995
#5  0xba514 in instantiate_pending_templates () at ../../gcc/gcc/cp/pt.c:10098
#6  0xde180 in finish_file () at ../../gcc/gcc/cp/decl2.c:3393
#7  0x137794 in finish_translation_unit () at ../../gcc/gcc/cp/semantics.c:1693
#8  0xf652c in yyparse_1 () at /usr/local/share/bison.simple:445
#9  0x1644e4 in yyparse () at ../../gcc/gcc/c-lex.c:166
#10 0x20013c in compile_file (name=0x40004e78 "")
    at ../../gcc/gcc/toplev.c:2333
#11 0x2046c4 in toplev_main (argc=20, argv=0x7b03a640)
    at ../../gcc/gcc/toplev.c:4947
#12 0x169c8c in main (argc=20, argv=0x7b03a640) at ../../gcc/gcc/main.c:35
#13 0x7af1c424 in ?? () from /usr/lib/libc.1
(gdb) up 1
#1  0x2017d4 in rest_of_compilation (decl=0x7a736708)
    at ../../gcc/gcc/toplev.c:3387
3387       schedule_insns (rtl_dump_file);
(gdb) p decl
$1 = 0x7a736708
(gdb) ptype decl
type = union tree_node {
    struct tree_common common;
    struct tree_int_cst int_cst;
    struct tree_real_cst real_cst;
    struct tree_string string;
    struct tree_complex complex;
    struct tree_identifier identifier;
    struct tree_decl decl;
    struct tree_type type;
    struct tree_list list;
    struct tree_vec vec;
    struct tree_exp exp;
    struct tree_block block;
} *
(gdb) source ../../../../gcc/gcc/gdbinit.in
(gdb)
Breakpoint 5 at 0x179348: file ../../gcc/gcc/diagnostic.c, line 1450.
Breakpoint 6 at 0x7af4bd5c
Breakpoint 7 at 0x7af42a78
(gdb) pt decl
 <function_decl 7a736708 operator<<
    type <function_type 7a7363c0
        type <reference_type 7a735e10 type <record_type 7ac0bf78 basic_ostream<char,std::char_traits<char> >>
            unsigned SI
            size <integer_cst 7ae8ebc0 constant 32>
            unit size <integer_cst 7ae8ec20 constant 4>
            align 32 symtab 0 alias set 11>
        DI
        size <integer_cst 7ae8e940 constant 64>
        unit size <integer_cst 7ae8eb60 constant 8>
        align 64 symtab 0 alias set -1
        arg-types <tree_list 7ad2e258 value <reference_type 7a735e10>
            chain <tree_list 7ad2e270 value <reference_type 7a67f258>
                chain <tree_list 7ae92888 tree_2 value <void_type 7ae93b40 void>>>>>
    asm_written public static in_system_header decl_1 decl_5 SI file
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h line 381 context <namespace_decl 7ae91b40 std>
    arguments <parm_decl 7a6cc960 __os type <reference_type 7a735e10>
        readonly unsigned used in_system_header SI file
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h line 381 size <integer_cst 7ae8ebc0 32> unit
size <integer_cst 7ae8ec20 4>
        align 32 context <function_decl 7a736708 operator<<> initial <reference_type 7a735e10>
        (reg/v/u/f:SI 95) arg-type <reference_type 7a735e10>
        incoming-rtl (reg:SI 26 %r26)
        chain <parm_decl 7a6ccac8 __x type <reference_type 7a67f258>
            readonly unsigned used in_system_header SI file
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h line 381 size <integer_cst 7ae8ebc0 32> unit
size <integer_cst 7ae8ec20 4>
            align 32 context <function_decl 7a736708 operator<<> initial <reference_type 7a67f258>
            (reg/v/u/f:SI 96) arg-type <reference_type 7a67f258>
            incoming-rtl (reg:SI 25 %r25)>>
    result <result_decl 7a6ccb40 type <reference_type 7a735e10>
        readonly unsigned regdecl SI file /devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h line
381 size <integer_cst 7ae8ebc0 32> unit size <integer_cst 7ae8ec20 4>
        align 32 context <function_decl 7a736708 operator<<>
        (reg:SI 94)> initial <block 7a6252c0>
    template-info 7ad2eac8>
(gdb) c
Continuing.

Breakpoint 2, fancy_abort (file=0x54ecc "../../gcc/gcc/sched-rgn.c", line=3,
    function=0x552c4 "schedule_insns") at ../../gcc/gcc/diagnostic.c:1450
1450   internal_error ("Internal compiler error in %s, at %s:%d",
(gdb) c
Continuing.
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h: In
   function `std::basic_ostream<_CharT, _Traits>&
   std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::complex<_Tp>&) [with _Tp = float, _CharT = char, _Traits =
   std::char_traits<char>]':
../../../../gcc/libstdc++-v3/src/complex_io.cc:41:   instantiated from here
/devel/span/rdb/src/gcc-3.1-experimental/hppa2.0-hp-hpux10.20/libstdc++-v3/include/bits/std_complex.h:387: Internal
   compiler error in schedule_insns, at sched-rgn.c:2942
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

Breakpoint 3, 0x7af4bd5c in ?? () from /usr/lib/libc.1
(gdb) q



More information about the Gcc-bugs mailing list