Package: g++ Version: 4:4.1.1-11 Severity: normal Hello,
I'm trying to debug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393194 and I found out that the test suite passes with -O0, -O1 and -O3 but fails with -O2. g++ is gcc version 4.1.2 20061007 (prerelease) (Debian 4.1.1-16) g++-4.0 (gcc version 4.0.4 20060904 (prerelease) (Debian 4.0.3-7)) builds tagcoll fine with -O2. I'm attaching the minimal test case I've been able to conjure that still reproduces the bug. I can't seem to be able to remove further code from it and have the bug still reproduce. To reproduce the problm, unpack the tarball then do: make CXXFLAGS+=-O2 make clean make CXXFLAGS+=-O0 You can speed up the process by adding "-gstabs+" to CXXFLAGS. Ciao, Enrico -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-686 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
tagcoll2-gccbug.tar.gz
Description: Binary data