From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17975 invoked by alias); 19 Jan 2010 22:54:47 -0000 Received: (qmail 17957 invoked by uid 48); 19 Jan 2010 22:54:36 -0000 Date: Tue, 19 Jan 2010 22:54:00 -0000 Message-ID: <20100119225436.17956.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42810] Enumeration with sequential values has its for-loop exit condition optimized out. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tony3 at GarlandConsulting dot us" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg02361.txt.bz2 ------- Comment #3 from tony3 at GarlandConsulting dot us 2010-01-19 22:54 ------- Here is the compiler information: g++ -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux Thread model: posix gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42810