https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79091
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at gcc dot gnu.org
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Created attachment 40529
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40529&action=edit
Reduced testcase
The enum is unnamed, so should be folded to a const inside the ?: expr I guess?
Or should the whole expr be folded in the instantiation, or is the
instantiation invalid? Need to check std ...
Removing the ?: and just having ColMajor as the default doesn't crash.