This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77791] ICE on invalid C++11 code with redefined function parameter: tree check: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in cp_parser_lambda_declarator_opt, at cp/parser.c:1011


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-09-29
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.7.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, however it fails for releases from 4.7.0 with:

pr77791.cpp:1:29: error: redefinition of ‘int i’
pr77791.cpp:1:18: error: ‘int i’ previously declared here
pr77791.cpp:1:29: internal compiler error: tree check: expected tree that
contains ‘decl minimal’ structure, have ‘error_mark’ in
cp_parser_lambda_declarator_opt, at cp/parser.c:8364

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]