This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15330] inconsistent slicing on cast of int to enum
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 22:09:05 -0000
- Subject: [Bug c++/15330] inconsistent slicing on cast of int to enum
- References: <20040506183922.15330.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sebor at roguewave dot com 2004-05-06 22:09 -------
Subject: Re: inconsistent slicing on cast of int to enum
Okay, thank you both for the additional detail. I agree that these
might be useful optimizations. It would IMO improve the quality of
the implementation if this new behavior were documented along with
a suggested solution to the reported problem (i.e., adding an
enumeration with a sufficiently large value).
Martin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15330