This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
[gmane.comp.gcc.regression] 11 GCC regressions, 11 new, with your patch on 2002-12-28T15:16:51Z.
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Mark Mitchell <mark at codesourcery dot com>, gcc-regression at gcc dot gnu dot org
- Date: 30 Dec 2002 15:50:57 -0800
- Subject: [gmane.comp.gcc.regression] 11 GCC regressions, 11 new, with your patch on 2002-12-28T15:16:51Z.
Hi Mark:
These failures appeared on Darwin with the new parser:
native g++.sum g++.abi/vtable3a.C
native g++.sum g++.abi/vtable3b.C
native g++.sum g++.abi/vtable3c.C
native g++.sum g++.abi/vtable3d.C
native g++.sum g++.abi/vtable3e.C
native g++.sum g++.abi/vtable3f.C
native g++.sum g++.abi/vtable3g.C
native g++.sum g++.abi/vtable3h.C
native g++.sum g++.abi/vtable3i.C
native g++.sum g++.abi/vtable3j.C
native g++.sum g++.jason/template26.C
The symptom is a bus error in each case. For template26.C, the
failure happens at:
(gdb) bt 10
#0 0x000b0568 in cp_parser_dependent_type_p (type=0x1049700) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:1875
#1 0x000b2538 in cp_parser_primary_expression (parser=0x1036930, idk=0xbfffdd28, qualifying_class=0xbfffdd2c) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:2903
#2 0x000b40f8 in cp_parser_postfix_expression (parser=0xbfffdd2c, address_p=17045952) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:3954
#3 0x000b471c in cp_parser_unary_expression (parser=0x443374, address_p=3221216556) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:4630
#4 0x000b4654 in cp_parser_unary_expression (parser=0x1036930, address_p=false) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:4603
#5 0x000b5054 in cp_parser_pm_expression (parser=0x1036930) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:5073
#6 0x000bef40 in cp_parser_binary_expression (parser=0x1036930, token_tree_map=0x442efc, fn=0x10419c0) at /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:13670
and 'type' is:
(gdb) call debug_tree(type)
<array_type 0x1049700
type <record_type 0x1049460 FILE type_1 type_5 BLK
size <integer_cst 0x1048ea0 constant 704>
unit size <integer_cst 0x1048de0 constant 88>
align 32 symtab 0 alias set -1
fields <field_decl 0x1044310 _p type <pointer_type 0x10421c0>
unsigned used in_system_header nonlocal decl_3 SI file /usr/include/stdio.h line 139
size <integer_cst 0xff9b40 constant 32>
unit size <integer_cst 0xff9ba0 constant 4>
align 32 offset_align 128
offset <integer_cst 0xff9bb8 constant 0>
bit offset <integer_cst 0xff9c78 constant 0> context <record_type 0x10440e0 __sFILE> arguments <integer_cst 0xff9bb8 0> chain <field_decl 0x1044380 _r>>
X() X(constX&) this=(X&) n_parents 0 use_template=0 interface-unknown
member-functions <tree_vec 0x10418a0
elt 0 <overload 0x101ead0>
elt 2 <function_decl 0x1047e00 operator=>
elt 3 <overload 0x101eb10>
elt 4 <overload 0x101eaf0>>
pointer_to_this <pointer_type 0x1049690> chain <type_decl 0x1044230 __sFILE>>
BLK
align 32 symtab 0 alias set -1>
I can send you preprocessed source if you wish. I bet the problem is
with this line from stdio.h:
extern FILE __sF[];
--
- Geoffrey Keating <geoffk@geoffk.org>