Re: [Bug c++/37281] New: bad code generation with enum and -m32

2008-08-29 Thread Andrew Thomas Pinski
This code is undefined as the value of 32 is outside the range of the enum. Sent from my iPhone On Aug 29, 2008, at 9:29, "gmorin1 at bloomberg dot net" <[EMAIL PROTECTED] > wrote: This is a copy of a Debian report that I made (I thought I might as well report it directly here too): htt

[Bug c++/37281] New: bad code generation with enum and -m32

2008-08-29 Thread gmorin1 at bloomberg dot net
This is a copy of a Debian report that I made (I thought I might as well report it directly here too): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496965 g++ generates bad code for this program on an amd64 machine. It works with fine in 64-bit and with older versions of gcc. #include str