[Bug c++/15330] inconsistent slicing on cast of int to enum

sebor at roguewave dot com gcc-bugzilla@gcc.gnu.org
Thu May 6 18:55:00 GMT 2004


------- Additional Comments From sebor at roguewave dot com  2004-05-06 18:55 -------
Subject: Re:  inconsistent slicing on cast of int to enum

pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-06 18:45 -------
> Mark could you deal with this as IIRC this is undefined and should not matter.

According to referenced paragraph it's actually unspecified,
not undefined.

Martin



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15330



More information about the Gcc-bugs mailing list