Command line:
g++ -O1 -fcompare-debug -c testcase.cpp

Tested revisions:
r156038 - crash
r155966 - crash
r155945 - crash (x86)
r155938 - crash
r155902 - OK
r155844 - OK (x86)
r155833 - OK
r155363 - OK
r153685 - OK

Behaviour is the same for unreduced testcase (at -O1)

Output:
$ /mnt/svn/gcc-trunk/binary-156038-lto/bin/g++ -O1 -fcompare-debug -c
testcase.cpp
g++: testcase.cpp: -fcompare-debug failure (length)


-- 
           Summary: "-fcompare-debug failure (length)" at -O1 in recent
                    builds
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86(_64)-pc-linux-gnu
GCC target triplet: x86(_64)-pc-linux-gnu


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

Reply via email to