https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
--- Comment #5 from Jason Merrill ---
7.2/8: For an enumeration whose underlying type is fixed, the values of the
enumeration are the values of the underlying type. Otherwise, for an
enumeration where emin is the smallest enumerator and emax is t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
--- Comment #4 from Travis Vitek ---
I believe the underlying type of the unscoped enumeration `E' should be `int'.
According to 7.2 paragraph 7, the underlying type is
.. implementation-defined which integral type is used
as the underlying
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Resolut
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
--- Comment #1 from Martin Sebor ---
Author: msebor
Date: Wed Mar 9 04:20:07 2016
New Revision: 234075
URL: https://gcc.gnu.org/viewcvs?rev=234075&root=gcc&view=rev
Log:
PR c++/62096 - unexpected warning overflow in implicit constant conversion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|