[Bug middle-end/105533] UBSAN: gcc/expmed.cc:3272:26: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int'

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105533 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end Target|

[Bug tree-optimization/107451] [11/12/13 Regression] Segmentation fault with vectorized code.

2022-10-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451 --- Comment #4 from Hongtao.liu --- (In reply to bartoldeman from comment #3) > Created attachment 53786 [details] > Corrected test case > > In my eagerness to make it as short as possible I made it too short indeed! 35 [local count:

[Bug target/100799] Stackoverflow in optimized code on PPC

2022-10-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #20

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2022-10-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #32 from Hongtao.liu --- (In reply to Marko Mäkelä from comment #31) > Much of this seems to work in GCC 12.2.0 as well as in clang++-15. For clang > there is a related ticket https://github.com/llvm/llvm-project/issues/37322 > > I

[Bug c/107465] [10/11/12/13 Regression] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I have not tested this at all but I suspect this patch will fix the issue: Oh I don't have time to submit this patch either. But maybe someone else could do it.

[Bug c/107465] [10/11/12/13 Regression] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 --- Comment #3 from Andrew Pinski --- I have not tested this at all but I suspect this patch will fix the issue: apinski@xeond:~/src/upstream-gcc/gcc/gcc/c-family$ git diff c-warn.cc diff --git a/gcc/c-family/c-warn.cc b/gcc/c-family/c-warn.cc

[Bug c/107465] [10/11/12/13 Regression] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Known to work|

[Bug target/107261] ICE: in classify_argument, at config/i386/i386.cc:2523 on __bf16 vect argument or return value

2022-10-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107261 --- Comment #6 from Hongtao.liu --- Fixed in GCC13.

[Bug c/107465] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 Andrew Pinski changed: What|Removed |Added Known to fail||11.3.0, 12.1.0, 6.1.0,

[Bug target/107261] ICE: in classify_argument, at config/i386/i386.cc:2523 on __bf16 vect argument or return value

2022-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107261 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:6913cad2a38bc406b137b06d579b650f6fe9a2e6 commit r13-3565-g6913cad2a38bc406b137b06d579b650f6fe9a2e6 Author: liuhongt Date: Tue Oct

[Bug c++/105511] [12/13 Regression] Spurious warning: "expected 'template' keyword..." when lt and gt compare over ternary

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105511 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 --- Comment #8 from Andrew Pinski --- *** Bug 107460 has been marked as a duplicate of this bug. ***

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

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460 --- Comment #5 from Andrew Pinski --- (In reply to Chris MacGregor from comment #4) > @Andrew, how did you get the output in comment #2, with "tree check: > expected enumeral_type, have record_type in tsubst_copy" in it? When gcc is configured

[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 tree-optimization/107467] [12/13 Regression] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection

[Bug tree-optimization/107467] [12/13 Regression] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 --- Comment #3 from Andrew Pinski --- Created attachment 53799 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53799=edit Testcase compile with -O2 -fno-strict-aliasing -flto New self contained testcase.

[Bug tree-optimization/107467] [12/13 Regression] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0, 11.3.0 Target Milestone|---

[Bug tree-optimization/107467] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 --- Comment #2 from Andrew Pinski --- Here is a single file example which just needs -Os -flto -fno-strict-aliasing: template struct pair { int first; T second; }; template [[gnu::optimize("strict-aliasing")]] bool

[Bug tree-optimization/107467] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 --- Comment #1 from Andrew Pinski --- Here is the unincluded version of the source: #include template bool __attribute__((noinline)) compare_pairs(const std::pair , const std::pair ) { return lhs.first == rhs.first && lhs.second ==

[Bug translation/107467] New: Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-10-30 Thread volker.weissmann at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 Bug ID: 107467 Summary: Miscompilation involing -Os , -flto and -fno-strict-aliasing Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107124] Reference template parameter refers to a temporary object

2022-10-30 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107124 --- Comment #3 from Fedor Chelnokov --- The latter example is indeed a bug in MSVC: https://developercommunity.visualstudio.com/t/Cannot-find-template-function-with-expli/1672180 And here is the related discussion according the original issue:

[Bug c++/107124] Reference template parameter refers to a temporary object

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107124 --- Comment #2 from Andrew Pinski --- Here is one which GCC/clang agree and accepts but MSVC/ICC reject (even before the static assert): template struct A {}; template constexpr int f(A) { return 0; } template constexpr int f(T) { return 1; }

[Bug c++/107124] Reference template parameter refers to a temporary object

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107124 --- Comment #1 from Andrew Pinski --- MSVC also invokes the static assert but ICC accepts it. Note I think clang/ICC get the following wrong too: template struct A {}; template constexpr int f(A) { return 0; } template constexpr int f(T) {

[Bug c++/107466] [12/13 Regression] invalid -Wnarrowing error with std::subtract_with_carry_engine

2022-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 --- Comment #2 from Jonathan Wakely --- I don't think this is a compiler bug. Converting that value to uint16_t is narrowing. The problem is that the standard requires subtract_with_carry_engine to use linear_congruential_engine where each of

[Bug c++/61596] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced indirectly

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61596 Andrew Pinski changed: What|Removed |Added CC||redbeard0531 at gmail dot com ---

[Bug c++/105560] Spurious -Wunused-local-typedefs warning on a typedef used on returned type

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105560 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/105560] Spurious -Wunused-local-typedefs warning on a typedef used on returned type

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105560 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105560] Spurious -Wunused-local-typedefs warning on a typedef used on returned type

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105560 Andrew Pinski changed: What|Removed |Added Known to fail||4.8.1 --- Comment #2 from Andrew

[Bug c++/105560] Spurious -Wunused-local-typedefs warning on a typedef used on returned type

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105560 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-10-30 Ever confirmed|0

[Bug c++/107461] GCC rejects program with ambiguity error

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 Andrew Pinski changed: What|Removed |Added CC||doodspav at gmail dot com --- Comment

[Bug c++/104398] [c++20] ICE triggered by templated class with base class containing `using enum`

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104398 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 Andrew Pinski changed: What|Removed |Added CC||tamas+...@hudson-trading.co

[Bug c++/105787] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/105787] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Andrew Pinski 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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107460 --- Comment #2 from Andrew Pinski --- : In instantiation of 'Event::Event(EventCat, auto:1) [with auto:1 = int]': :38:32: required from here :30:30: internal compiler error: tree check: expected enumeral_type, have record_type in tsubst_copy,

[Bug c++/107466] [12/13 Regression] invalid -Wnarrowing error with std::subtract_with_carry_engine

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 --- Comment #1 from Andrew Pinski --- Shorter testcase (still includes): #include void f() { std::subtract_with_carry_engine(); }

[Bug c++/107466] New: [12 Regression] invalid -Wnarrowing error

2022-10-30 Thread littlefox+gcc-bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 Bug ID: 107466 Summary: [12 Regression] invalid -Wnarrowing error Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/107463] Better error request for invalid initializer list of aggregate

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107463 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 Iain Sandoe changed: What|Removed |Added Ever confirmed|1 |0 Status|SUSPENDED

[Bug c/107465] New: Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2022-10-30 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 Bug ID: 107465 Summary: Bogus warning: promoted bitwise complement of an unsigned value is always nonzero Product: gcc Version: 11.3.0 Status: UNCONFIRMED

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #47 from Sergey Fedorov --- (In reply to Ian Lance Taylor from comment #46) > A small bit of work is needed on the codegen, to read and write the export > data. And some work is required on the runtime, to clean it up to support >

[Bug c++/107464] Expression error in qualified name lookup with lambdas in unevaluated context

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 --- Comment #3 from Andrew Pinski --- There are definitely issues with lamdba in decltype and aliases and this is just one of many.

[Bug c++/107464] Expression error in qualified name lookup with lambdas in unevaluated context

2022-10-30 Thread roma.sandu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 --- Comment #2 from Роман Санду --- Here's a link to godbolt with the minimal reproducing test case: https://godbolt.org/z/5PoYd3sPs Note that the bug is present in both gcc trunk and gcc 12.2.

[Bug c++/107464] Expression error in qualified name lookup with lambdas in unevaluated context

2022-10-30 Thread roma.sandu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 --- Comment #1 from Роман Санду --- Created attachment 53796 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53796=edit No bug with unqualified name

[Bug c++/107464] New: Expression error in qualified name lookup with lambdas in unevaluated context

2022-10-30 Thread roma.sandu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 Bug ID: 107464 Summary: Expression error in qualified name lookup with lambdas in unevaluated context Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #46 from Ian Lance Taylor --- A small bit of work is needed on the codegen, to read and write the export data. And some work is required on the runtime, to clean it up to support Darwin. It has to be done by someone with access to

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #45 from Iain Sandoe --- (In reply to Ian Lance Taylor from comment #44) > gccgo still does not work on Darwin. is work needed on the runtime, or on code-gen (or both)? If there was someone who had some spare time to work on it...

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #44 from Ian Lance Taylor --- gccgo still does not work on Darwin.

[Bug c++/107463] New: Better error request for invalid initializer list of aggregate

2022-10-30 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107463 Bug ID: 107463 Summary: Better error request for invalid initializer list of aggregate Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2022-10-30 Thread hicham at mouline dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 hicham at mouline dot org changed: What|Removed |Added CC||hicham at mouline dot org

[Bug tree-optimization/107462] Missed optimization of std::atomic::fetch_xxx "null operations" to std::atomic::load()

2022-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107462 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Keywords|

[Bug target/107456] std::atomic::fetch_xxx generate LOCK CMPXCHG instead of simpler LOCK instructions

2022-10-30 Thread marko.makela at mariadb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107456 --- Comment #2 from Marko Mäkelä --- Sorry for the noise. I posted a variant of the program to https://github.com/llvm/llvm-project/issues/58685 and g++-12 is already emitting the optimal code. Example: #include bool lock_add_sete(std::atomic

[Bug c++/107462] New: Missed optimization of std::atomic::fetch_xxx "null operations" to std::atomic::load()

2022-10-30 Thread marko.makela at mariadb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107462 Bug ID: 107462 Summary: Missed optimization of std::atomic::fetch_xxx "null operations" to std::atomic::load() Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c++/107461] New: GCC rejects program with ambiguity error

2022-10-30 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461 Bug ID: 107461 Summary: GCC rejects program with ambiguity error Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[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: