[Bug c++/84435] -Wliteral-suffix warns on a using-directive

2021-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #5 from Andrew Pinski  ---
Dup of bug 65923 which is fixed in GCC 8.

*** This bug has been marked as a duplicate of bug 65923 ***

[Bug c++/84435] -Wliteral-suffix warns on a using-directive

2018-03-31 Thread arthur.j.odwyer at gmail dot com
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

--- Comment #4 from Arthur O'Dwyer  ---
Duplicate of #77999. I, also, just ran into this bug myself.

[Bug c++/84435] -Wliteral-suffix warns on a using-directive

2018-02-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84435

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-02-19
 Ever confirmed|0   |1

--- Comment #3 from Jonathan Wakely  ---
No, we can't delete comments.

[Bug c++/84435] -Wliteral-suffix warns on a using-directive

2018-02-19 Thread mferoldif at gmail dot com
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?

[Bug c++/84435] -Wliteral-suffix warns on a using-directive

2018-02-19 Thread mferoldif at gmail dot com
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)
{
case E::A: return 0;
case E::B: return 1;
case E::C: return 2;
}
}