https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #8 from Jonathan Wakely ---
(In reply to Jason Merrill from comment #5)
> I get better results if I add the static_assert to __uninitialized_copy_a,
> so we hit it before queuing any further instantiations.
I actually need to check t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #7 from Jason Merrill ---
Created attachment 51403
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51403&action=edit
patch to stop compiling a function after static_assert
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #6 from Jason Merrill ---
Created attachment 51402
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51402&action=edit
patch to silence constexpr issues with erroneous functions
Here are a couple of other commits I tried to reduce
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #4 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:8960a29b18b830ff0490b7f52051903fba472e45
commit r12-3236-g8960a29b18b830ff0490b7f52051903fba472e45
Author: Jason Merrill
Date: Su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #3 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #2)
> Why is the compiler even doing overload resolution for std::get if I is
> an invalid constant expression?! It's not going to match any overload!
This part is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #2 from Jonathan Wakely ---
It also doesn't help that the compiler thwarts my attempt to trigger errors
earlier like so:
// Return index of _Tp in _Types.
// Ill-formed if _Tp doesn't occur exactly once in _Types.
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|