This is the mail archive of the gcc-patches@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: C++ ICE 19990828 in current CVS breaks bootstrap


Am Tue, 14 Dec 1999 schrieb Mark Mitchell:
>>>>>> "Franz" == Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
>
>    Franz> Please tell me if you need more information.
>
>Yup.  I don't have a powerpc box, so I need a configuration triplet,
>preprocessed source, and command-line flags.

OK, preprocessed source included, target triplet is powerpc-unknown-linux-gnu.
The gdb commandline for cc1plus is "inst.ii -quiet -dumpbase cinst.cc -g -O2
-version -fvtable-thunks -fno-implicit-templates -fPIC -o cinst.s".

Franz.


[fsirl@entropy:~/obj/gccm/ppc-redhat-linux/libstdc++]$ gdb
/home/fsirl/obj/gccm/gcc/cc1plus GNU gdb 4.17.0.14 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-redhat-linux"...
(gdb) r cinst.ii -quiet -dumpbase cinst.cc -g -O2 -version -fvtable-thunks -fno-implicit-templates -fPIC -o cinst.s
Starting program: /home/fsirl/obj/gccm/gcc/cc1plus cinst.ii -quiet -dumpbase cinst.cc -g -O2 -version -fvtable-thunks -fno-implicit-templates -fPIC -o cinst.s
GNU C++ version 2.96 19991214 (experimental) (ppc-redhat-linux) compiled by GNU C version 2.96 19991214 (experimental).
../../../../cvsx/gccm/libstdc++/std/complext.h: In function `complex<_FLT> sqrt (const complex<_FLT> &) [with _FLT = float]':
../../../../cvsx/gccm/libstdc++/cinst.cc:147:   instantiated from here
../../../../cvsx/gccm/libstdc++/std/complext.h:271: Internal compiler error 19990828.
../../../../cvsx/gccm/libstdc++/std/complext.h:271: Please submit a full bug report.
../../../../cvsx/gccm/libstdc++/std/complext.h:271: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.

Program exited with code 041.
(gdb) b my_friendly_abort
Breakpoint 1 at 0x102012dc: file ../../../../cvsx/gccm/gcc/cp/typeck2.c, line 308.
(gdb) r
Starting program: /home/fsirl/obj/gccm/gcc/cc1plus cinst.ii -quiet -dumpbase cinst.cc -g -O2 -version -fvtable-thunks -fno-implicit-templates -fPIC -o cinst.s
GNU C++ version 2.96 19991214 (experimental) (ppc-redhat-linux) compiled by GNU C version 2.96 19991214 (experimental).

Breakpoint 1, my_friendly_abort (i=19990828) at ../../../../cvsx/gccm/gcc/cp/typeck2.c:308
308       if (abortcount == 1)
(gdb) up
#1  0x10201404 in my_friendly_assert (cond=19990828, where=19990828) at ../../../../cvsx/gccm/gcc/cp/typeck2.c:342
342         my_friendly_abort (where);
(gdb) up
#2  0x101e5570 in emit_local_var (decl=0x303c1a00) at ../../../../cvsx/gccm/gcc/cp/decl.c:7554
7554        my_friendly_assert (TREE_CODE (decl) == RESULT_DECL,
(gdb) p debug_tree(decl)
 <var_decl 0x303c1a00 x
    type <reference_type 0x300feb00
        type <record_type 0x300fea80 complex<float>
            readonly permanent needs-constructing type_1 type_5 DI
            size <integer_cst 0x30107860 constant permanent 64>
            align 32 symtab 0 alias set 0 fields <field_decl 0x30100b80 re>
           needs-constructor X() X(constX&) this=(X&) n_parents 0 use_template=2 interface-only
            member-functions <tree_vec 0x30108380
                permanent
                elt 0 <overload 0x300cbd10>
                elt 2 <function_decl 0x30100200 __aml>
                elt 3 <function_decl 0x300fef80 __ami>
                elt 4 <function_decl 0x30108280 __as>
                elt 5 <function_decl 0x30100480 __adv>
                elt 6 <function_decl 0x300fed00 __apl>
                elt 7 <function_decl 0x30100680 real>
                elt 8 <function_decl 0x30100a00 imag>>
            pointer_to_this <pointer_type 0x30100780> reference_to_this <reference_type 0x300feb00>>

        unsigned permanent SI
        size <integer_cst 0x300fdf20 constant permanent 32>
        align 32 symtab 0 alias set 296>

    unsigned used permanent SI file ../../../../cvsx/gccm/libstdc++/std/complext.cc line 271 size <integer_cst 0x300fdf20 32>
    align 32 context <function_decl 0x303b9480 sqrt> abstract_origin <parm_decl 0x3010f600 x>
    (reg/v:SI 117)>
$1 = void

cinst.ii.bz2


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