[Bug c++/92432] New: Regression: ICE on non-constant expression as template argument

2019-11-09 Thread daniel at ekpyron dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel at ekpyron dot org Target Milestone: --- Found on an up-to-date x86_64 archlinux system using "gcc 9.2.0-4". However, I think this affects all versions of gcc >

[Bug c++/92432] Regression: ICE on non-constant expression as template argument

2019-11-09 Thread daniel at ekpyron dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92432 --- Comment #2 from Daniel Kirchner --- Might be a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765

[Bug c++/92432] Regression: ICE on non-constant expression as template argument

2019-11-09 Thread daniel at ekpyron dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92432 --- Comment #3 from Daniel Kirchner --- Non-STL test case: struct X { int s(); }; template using Y = void; template static constexpr void t(X x) { Y v; }