https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #6 from Andrew Pinski ---
(In reply to Carlo Wood from comment #5)
> Hey Andrew :)
> You probably mean https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752
> But they are different in that I think that this report is invalid...
> See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #5 from Carlo Wood ---
Hey Andrew :)
You probably mean https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752
But they are different in that I think that this report is invalid...
See "discussion" here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #4 from Andrew Pinski ---
I thought I saw this before ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #3 from Jonathan Wakely ---
MSVC compiles it but Clang and EDG agree with GCC:
$ clang++ c.cc -std=c++2b
c.cc:12:22: error: non-type template argument is not a constant expression
return SymbolRefid_>{};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #2 from Carlo Wood ---
I meant `constexpr Symbol x;` inside main - with the same error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
Carlo Wood changed:
What|Removed |Added
Summary|wrong "error: ‘this’ is not |Possibly wrong "error: