[Bug c++/103081] [ICE] with "using enum"

2022-10-30 Thread chris-gcc-bugzilla at cybermato dot com via Gcc-bugs
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

[Bug c++/103081] [ICE] with "using enum"

2022-10-30 Thread chris-gcc-bugzilla at cybermato dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 Chris MacGregor changed: What|Removed |Added CC||chris-gcc-bugzilla@cybermat

[Bug c++/107460] ICE with "using enum" member passed to template function (g++ 11.x-13)

2022-10-30 Thread chris-gcc-bugzilla at cybermato dot com via Gcc-bugs
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

[Bug c++/107460] ICE with "using enum" member passed to template function (g++ 11.x-13)

2022-10-30 Thread chris-gcc-bugzilla at cybermato dot com via Gcc-bugs
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=edit preprocessed source

[Bug c++/107460] New: ICE with "using enum" member passed to template function (g++ 11.x-13)

2022-10-30 Thread chris-gcc-bugzilla at cybermato dot com via Gcc-bugs
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: