https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87389
--- Comment #4 from CVS Commits ---
The trunk branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:9944ca17c0766623bce260684edc614def7ea761
commit r13-6133-g9944ca17c0766623bce260684edc614def7ea761
Author: Jason Merrill
Date: Fri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87389
Jonathan Wakely changed:
What|Removed |Added
CC||paultargosz86 at googlemail
dot co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87389
--- Comment #2 from Jonathan Wakely ---
Specifically, the not-taken branch of an if constexpr is only discarded when
inside a template. In a non-template both branches are compiled as normal, and
so both static assertions get compiled. Since both
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87389
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---