[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-07-29 Thread jason at gcc dot gnu.org
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

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-07-21 Thread travis.vitek at roguewave dot com
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

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolut

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-03-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-03-08 Thread msebor at gcc dot gnu.org
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

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2015-03-27 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|