[Bug c++/50559] New: g++ bails out after seeing overflow in an enumeration value

2011-09-28 Thread dnetserrspam at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50559

 Bug #: 50559
   Summary: g++ bails out after seeing overflow in an enumeration
value
Classification: Unclassified
   Product: gcc
   Version: 4.4.5
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: dnetserrs...@gmail.com


Created attachment 25376
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25376
preprocessed output of a file with overflowing enum constant values


[Bug c++/50559] g++ bails out after seeing overflow in an enumeration value

2011-09-28 Thread dnetserrspam at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50559

--- Comment #1 from dnetserrspam at gmail dot com 2011-09-28 17:24:18 UTC ---
When g++ compiles the attached code it complains (correctly) that the value for
GREEN overflows. Then it reports that it is confused by earlier errors and
bails out.