public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104295] New: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079
@ 2022-01-31 3:37 hewillk at gmail dot com
2022-01-31 4:08 ` [Bug c++/104295] " pinskia at gcc dot gnu.org
2022-01-31 14:49 ` ppalka at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2022-01-31 3:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104295
Bug ID: 104295
Summary: ICE: tree check: expected template_decl, have
error_mark in build_deduction_guide, at cp/pt.cc:29079
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: ---
template<class>
struct B;
template <class R>
struct B<R()> {
template<class T>
struct C { C(T); };
};
int main() {
B<void()>::C{0};
}
https://godbolt.org/z/5rxvbd3oe
Maybe dup of Bug 104294, but since their error message is different I opened
this one.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/104295] ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079
2022-01-31 3:37 [Bug c++/104295] New: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079 hewillk at gmail dot com
@ 2022-01-31 4:08 ` pinskia at gcc dot gnu.org
2022-01-31 14:49 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-31 4:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104295
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |11.2.0, 7.1.0
Keywords| |error-recovery
Severity|normal |trivial
Ever confirmed|0 |1
Last reconfirmed| |2022-01-31
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/104295] ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079
2022-01-31 3:37 [Bug c++/104295] New: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079 hewillk at gmail dot com
2022-01-31 4:08 ` [Bug c++/104295] " pinskia at gcc dot gnu.org
@ 2022-01-31 14:49 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-01-31 14:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104295
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppalka at gcc dot gnu.org
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Looks like the underlying cause is the same as for PR104294 so let's call this
a dup.
*** This bug has been marked as a duplicate of bug 104294 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-31 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 3:37 [Bug c++/104295] New: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079 hewillk at gmail dot com
2022-01-31 4:08 ` [Bug c++/104295] " pinskia at gcc dot gnu.org
2022-01-31 14:49 ` ppalka 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).