From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18895 invoked by alias); 24 Dec 2004 18:25:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18858 invoked by uid 48); 24 Dec 2004 18:25:10 -0000 Date: Fri, 24 Dec 2004 18:25:00 -0000 Message-ID: <20041224182510.18857.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041224180135.19149.pinskia@gcc.gnu.org> References: <20041224180135.19149.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19149] [4.0 Regression] seg fault on invalid code X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03478.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-24 18:25 ------- Here is the backtrace: #0 0x0003ddc0 in check_tag_decl (declspecs=0xbffff5e0) at /Users/pinskia/src/local/gcc/gcc/cp/ decl.c:3517 #1 0x001407e8 in cp_parser_member_declaration (parser=0x428a2548) at /Users/pinskia/src/local/ gcc/gcc/cp/parser.c:12962 #2 0x0014063c in cp_parser_member_specification_opt (parser=0x428a2548) at /Users/pinskia/src/ local/gcc/gcc/cp/parser.c:12851 #3 0x0013ee3c in cp_parser_class_specifier (parser=0x428a2548) at /Users/pinskia/src/local/gcc/ gcc/cp/parser.c:12310 #4 0x001392dc in cp_parser_type_specifier (parser=0x428a2548, flags=CP_PARSER_FLAGS_OPTIONAL, decl_specs=0xbffff8a0, is_declaration=1 '\001', declares_class_or_enum=0xbffff838, is_cv_qualifier=0xbffff83c "") at /Users/pinskia/src/local/gcc/ gcc/cp/parser.c:9158 #5 0x00135774 in cp_parser_decl_specifier_seq (parser=0x428a2548, flags=CP_PARSER_FLAGS_OPTIONAL, decl_specs=0xbffff8a0, declares_class_or_enum=0xbffff8f0) at / Users/pinskia/src/local/gcc/gcc/cp/parser.c:7154 #6 0x00135170 in cp_parser_simple_declaration (parser=0x428a2548, function_definition_allowed_p=1 '\001') at /Users/pinskia/src/local/gcc/gcc/cp/parser.c:6850 #7 0x00135114 in cp_parser_block_declaration (parser=0x428a2548, statement_p=0 '\0') at /Users/ pinskia/src/local/gcc/gcc/cp/parser.c:6811 #8 0x00134efc in cp_parser_declaration (parser=0x428a2548) at /Users/pinskia/src/local/gcc/gcc/ cp/parser.c:6728 #9 0x00134b58 in cp_parser_declaration_seq_opt (parser=0x428a2548) at /Users/pinskia/src/local/ gcc/gcc/cp/parser.c:6632 #10 0x0012dc10 in cp_parser_translation_unit (parser=0x428a2548) at /Users/pinskia/src/local/gcc/ gcc/cp/parser.c:2556 (gdb) p declspecs->type $2 = 0x0 -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-12-24 18:25:09 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19149