https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081
--- Comment #9 from Chris MacGregor
---
With the testcase I just attached, using 13.0.0 20221030 via Godbolt:
https://godbolt.org/z/8Y4cr6MxY
: In instantiation of 'Event::Event(EventCat, auto:1) [with auto:1 =
int]':
:38:32: required from h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081
Chris MacGregor changed:
What|Removed |Added
CC||chris-gcc-bugzilla@cybermat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460
--- Comment #4 from Chris MacGregor
---
@Andrew, how did you get the output in comment #2, with "tree check: expected
enumeral_type, have record_type in tsubst_copy" in it?
Also, should this be marked as directly a dup of 103081, rather than a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460
--- Comment #1 from Chris MacGregor
---
Created attachment 53794
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53794&action=edit
preprocessed source
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460
Bug ID: 107460
Summary: ICE with "using enum" member passed to template
function (g++ 11.x-13)
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: norma