https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435
Arthur O'Dwyer changed:
What|Removed |Added
CC||arthur.j.odwyer at gmail dot
com
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435
--- Comment #2 from Mário Feroldi ---
I'm really sorry for the mess up (previous comment wasn't meant to be posted on
this issue); could someone delete it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435
--- Comment #1 from Mário Feroldi ---
Note that the following `foo`'s variant doesn't make the warning go away:
int foo(E e)
{
(e == E::A || e == E::B || e == E::C) ? void() :
__builtin_unreachable();
switch (e)
{