public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102784] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:47991
@ 2021-10-15 16:15 hewillk at gmail dot com
  2021-10-15 23:36 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors pinskia at gcc dot gnu.org
  2021-10-18  8:09 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors since r10-3735-gcb57504a55015891 marxin at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2021-10-15 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

12 Regression:

template<class>
concept C = true;

template<C T, class T>
  requires
auto operator<<(auto) = delete;

https://godbolt.org/z/TPh9GETx5

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

* [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors
  2021-10-15 16:15 [Bug c++/102784] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:47991 hewillk at gmail dot com
@ 2021-10-15 23:36 ` pinskia at gcc dot gnu.org
  2021-10-18  8:09 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors since r10-3735-gcb57504a55015891 marxin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 23:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-checking
            Summary|ICE: tree check: expected   |ICE in
                   |tree that contains 'decl    |synthesize_implicit_templat
                   |common' structure, have     |e_parm after errors
                   |'error_mark' in             |
                   |synthesize_implicit_templat |
                   |e_parm, at                  |
                   |cp/parser.c:47991           |
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-10-15
           Severity|normal                      |minor

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, this might not be a regression, the ICE only happens when checking
is enabled.

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

* [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors since r10-3735-gcb57504a55015891
  2021-10-15 16:15 [Bug c++/102784] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:47991 hewillk at gmail dot com
  2021-10-15 23:36 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors pinskia at gcc dot gnu.org
@ 2021-10-18  8:09 ` marxin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-10-18  8:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in                      |ICE in
                   |synthesize_implicit_templat |synthesize_implicit_templat
                   |e_parm after errors         |e_parm after errors since
                   |                            |r10-3735-gcb57504a55015891
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Likely started with r10-3735-gcb57504a55015891.

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

end of thread, other threads:[~2021-10-18  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 16:15 [Bug c++/102784] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.c:47991 hewillk at gmail dot com
2021-10-15 23:36 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors pinskia at gcc dot gnu.org
2021-10-18  8:09 ` [Bug c++/102784] ICE in synthesize_implicit_template_parm after errors since r10-3735-gcb57504a55015891 marxin 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).