This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37281] bad code generation with enum and -m32
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2008 17:00:38 -0000
- Subject: [Bug c++/37281] bad code generation with enum and -m32
- References: <bug-37281-9476@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from manu at gcc dot gnu dot org 2008-08-29 17:00 -------
In GCC 4.4 we warn about this with -Wconversion.
warning: the result of the conversion is unspecified because ?32? is outside
the range of type ?MyTypes::Type?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37281