Command line:
gcc -O1 -fipa-struct-reorg -fwhole-program -fipa-type-escape -g testcase.c

Tested revisions:
r156745 - crash
r153685 - crash
4.4 r156256 - OK (with checking)

Output:
$ /mnt/svn/gcc-trunk/binary-156745-lto/bin/gcc -O1 -fipa-struct-reorg
-fwhole-program -fipa-type-escape -g testcase.c
testcase.c: In function ‘main’:
testcase.c:10:1: internal compiler error: in find_new_var_of_type, at
ipa-struct-reorg.c:604
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Valgrind:
no errors reported


-- 
           Summary: [4.5 Regression] ICE: in find_new_var_of_type, at ipa-
                    struct-reorg.c:604 with -fipa-struct-reorg -g
           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=43084

Reply via email to