This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17022] Behavior of out-of-range enums


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-14 06:11 -------
Actually it is not undefined or implementation defined by the standard, it is unspecified which is a 
totally different ball game and we just define it as constants do the get anded, likewise with 
optimization where you can prove that the variable is a constant.  Otherwise it is the same value as 
before this change.

See: <http://www.devx.com/tips/Tip/12684> for unspecified vs. undefined
Also see PR 15330 where we defined the defintion of what we want to be able to do which I am going 
to mark as a dup of.

*** This bug has been marked as a duplicate of 15330 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]