public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99659] New: internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:45415
@ 2021-03-19  9:10 hewillk at gmail dot com
  2021-03-19 14:52 ` [Bug c++/99659] [10/11 Regression] " mpolacek at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hewillk at gmail dot com @ 2021-03-19  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99659
           Summary: internal compiler error: tree check: expected tree
                    that contains 'decl common' structure, have
                    'error_mark' in synthesize_implicit_template_parm, at
                    cp/parser.c:45415
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

https://godbolt.org/z/qePTPh

====
template <...args> bar(auto);
====

<source>:1:11: error: expected identifier before '...' token
    1 | template <...args> bar(auto);
      |           ^~~
<source>:1:24: internal compiler error: tree check: expected tree that contains
'decl common' structure, have 'error_mark' in
synthesize_implicit_template_parm, at cp/parser.c:45415
    1 | template <...args> bar(auto);
      |                        ^~~~
0x1cfa259 internal_error(char const*, ...)
        ???:0
0x67bb5d tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
        ???:0
0x8e136d c_parse_file()
        ???:0
0xa5f962 c_common_parse_file()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2023-03-23 17:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19  9:10 [Bug c++/99659] New: internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:45415 hewillk at gmail dot com
2021-03-19 14:52 ` [Bug c++/99659] [10/11 Regression] " mpolacek at gcc dot gnu.org
2021-04-27 11:40 ` [Bug c++/99659] [10/11/12 " jakub at gcc dot gnu.org
2021-07-28  7:06 ` rguenth at gcc dot gnu.org
2022-04-21  7:48 ` rguenth at gcc dot gnu.org
2023-03-23 17:45 ` [Bug c++/99659] [10/11/12/13 " 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).