public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/19149] [4.0 Regression] seg fault on invalid code
Date: Fri, 24 Dec 2004 18:25:00 -0000	[thread overview]
Message-ID: <20041224182510.18857.qmail@sourceware.org> (raw)
In-Reply-To: <20041224180135.19149.pinskia@gcc.gnu.org>


------- 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


  parent reply	other threads:[~2004-12-24 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24 18:01 [Bug c++/19149] New: " pinskia at gcc dot gnu dot org
2004-12-24 18:02 ` [Bug c++/19149] " pinskia at gcc dot gnu dot org
2004-12-24 18:03 ` pinskia at gcc dot gnu dot org
2004-12-24 18:25 ` pinskia at gcc dot gnu dot org [this message]
2004-12-24 18:33 ` pinskia at gcc dot gnu dot org
2004-12-27 18:28 ` mmitchel at gcc dot gnu dot org
2004-12-27 19:03 ` cvs-commit at gcc dot gnu dot org
2004-12-27 19:04 ` mmitchel at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041224182510.18857.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).