public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ghazi at caip dot rutgers dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C Date: Thu, 01 Jan 2004 16:17:00 -0000 [thread overview] Message-ID: <20040101161759.18342.qmail@sources.redhat.com> (raw) In-Reply-To: <20030408155600.10349.ghazi@caip.rutgers.edu> ------- Additional Comments From ghazi at caip dot rutgers dot edu 2004-01-01 16:17 ------- Subject: Re: testsuite failure in g++.dg/parse/stack1.C With gdb I can't get a good trace, perhaps because the stack overflowed. Also given that it crashes in the parser, the 3.4 bug might be different than the 3.3.x one. Or maybe not. Note this was 3.4 configured with no special options on sparc-sun-solaris2.7, (i.e. sparc64, listed in the initial report, is not necessary given a larger number of "else-ifs". Though the crash still happens on sparc64 also.) I used sparc32 because gdb doesn't support sparc64 AFAICT. GNU gdb 5.3 [...] (gdb) run -fpreprocessed stack2.ii -quiet -dumpbase stack2.C -mcpu=v7 -auxbase stack2 -version -o stack2.s Starting program: /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/cc1plus -fpreprocessed stack2.ii -quiet -dumpbase stack2.C -mcpu=v7 -auxbase stack2 -version -o stack2.s GNU C++ version 3.4.0 20040101 (experimental) (sparc-sun-solaris2.7) compiled by GNU C version 3.4.0 20040101 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Program received signal SIGSEGV, Segmentation fault. 0x000ed7e8 in cp_parser_type_name (parser=0xff10ff80) at ../../egcc-CVS20040101/gcc/cp/parser.c:8752 8752 type_decl = cp_parser_class_name (parser, (gdb) bt #0 0x000ed7e8 in cp_parser_type_name (parser=0xff10ff80) at ../../egcc-CVS20040101/gcc/cp/parser.c:8752 Cannot access memory at address 0xff3eff54 (gdb) list 8752 type_decl = cp_parser_class_name (parser, 8753 /*typename_keyword_p=*/false, 8754 /*template_keyword_p=*/false, 8755 /*type_p=*/false, 8756 /*check_dependency_p=*/true, 8757 /*class_head_p=*/false, 8758 /*is_declaration=*/false); 8759 /* If it's not a class-name, keep looking. */ 8760 if (!cp_parser_parse_definitely (parser)) 8761 { (gdb) p *parser $2 = {lexer = 0x3b6c0000, scope = 0xfd068320, object_scope = 0x500660, qualifying_scope = 0x10, context = 0x2e6c0000, allow_gnu_extensions_p = false, greater_than_is_operator_p = false, default_arg_ok_p = false, integral_constant_expression_p = false, allow_non_integral_constant_expression_p = false, non_integral_constant_expression_p = 80, in_offsetof_p = 6, local_variables_forbidden_p = 96, in_unbraced_linkage_specification_p = false, in_declarator_p = false, in_template_argument_list_p = false, in_iteration_statement_p = 16, in_switch_statement_p = 71, type_definition_forbidden_message = 0xff390180 "", unparsed_functions_queues = 0x500660, num_classes_being_defined = 16, num_template_parameter_lists = 1193410560} -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10349
next prev parent reply other threads:[~2004-01-01 16:17 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20030408155600.10349.ghazi@caip.rutgers.edu> 2003-05-26 9:07 ` [Bug target/10349] [Sparc64/Solaris] " dhazeghi@yahoo.com 2003-05-26 12:08 ` ebotcazou@gcc.gnu.org 2003-12-29 22:49 ` [Bug optimization/10349] " pinskia at gcc dot gnu dot org 2004-01-01 7:10 ` ghazi at caip dot rutgers dot edu 2004-01-01 7:12 ` ghazi at caip dot rutgers dot edu 2004-01-01 7:13 ` pinskia at gcc dot gnu dot org 2004-01-01 7:16 ` pinskia at gcc dot gnu dot org 2004-01-01 8:02 ` ghazi at caip dot rutgers dot edu 2004-01-01 8:17 ` ghazi at caip dot rutgers dot edu 2004-01-01 8:25 ` pinskia at gcc dot gnu dot org 2004-01-01 16:17 ` ghazi at caip dot rutgers dot edu [this message] 2004-01-01 16:26 ` ebotcazou at gcc dot gnu dot org 2004-01-01 16:31 ` pinskia at gcc dot gnu dot org 2004-10-27 3:50 ` [Bug c++/10349] " pinskia at gcc dot gnu dot org 2004-11-28 21:10 ` pinskia 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=20040101161759.18342.qmail@sources.redhat.com \ --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: linkBe 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).