public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60335] New: confused by earlier errors, bailing out
@ 2014-02-24 23:39 vanyacpp at gmail dot com
  2015-02-10  6:16 ` [Bug c++/60335] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vanyacpp at gmail dot com @ 2014-02-24 23:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60335

            Bug ID: 60335
           Summary: confused by earlier errors, bailing out
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com

struct baz0 
{
    int baz1(void bar0, struct bar0 {} bar3);
};


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/60335] confused by earlier errors, bailing out
  2014-02-24 23:39 [Bug c++/60335] New: confused by earlier errors, bailing out vanyacpp at gmail dot com
@ 2015-02-10  6:16 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-10  6:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60335

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-10
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, still happens on the trunk as of today.
The full backtrace:
t.cc:3:37: error: types may not be defined in parameter types
     int baz1(void bar0, struct bar0 {} bar3);
                                     ^
t.cc:3:44: internal compiler error: in pop_binding, at cp/name-lookup.c:391
     int baz1(void bar0, struct bar0 {} bar3);
                                            ^
0x7b46bf pop_binding(tree_node*, tree_node*)
        ../../gcc/cp/name-lookup.c:391
0x7b5447 pop_bindings_and_leave_scope()
        ../../gcc/cp/name-lookup.c:413
0x6e9817 cp_parser_direct_declarator
        ../../gcc/cp/parser.c:17620
0x6e9817 cp_parser_declarator
        ../../gcc/cp/parser.c:17422
0x6d8e97 cp_parser_member_declaration
        ../../gcc/cp/parser.c:20963
0x6e52bf cp_parser_member_specification_opt
        ../../gcc/cp/parser.c:20645
0x6e52bf cp_parser_class_specifier_1
        ../../gcc/cp/parser.c:19837
0x6e52bf cp_parser_class_specifier
        ../../gcc/cp/parser.c:20073
0x6e52bf cp_parser_type_specifier
        ../../gcc/cp/parser.c:14718
0x6e79e3 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:11951
0x70058f cp_parser_simple_declaration
        ../../gcc/cp/parser.c:11528
0x700b07 cp_parser_block_declaration
        ../../gcc/cp/parser.c:11475
0x7096bb cp_parser_declaration
        ../../gcc/cp/parser.c:11372
0x70998b cp_parser_declaration_seq_opt
        ../../gcc/cp/parser.c:11258
0x709d47 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4109
0x709d47 c_parse_file()
        ../../gcc/cp/parser.c:33176
0x84cc83 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1052
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-10  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 23:39 [Bug c++/60335] New: confused by earlier errors, bailing out vanyacpp at gmail dot com
2015-02-10  6:16 ` [Bug c++/60335] " pinskia at gcc dot gnu.org

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