gfortran -m32 -march=opteron -ftree-vectorize -O3 gas_dyn.f90
gas_dyn.f90: In function 'keel':
gas_dyn.f90:435: internal compiler error: Segmentation fault

Works with -m64, -O2 and no -ftree-vectorize.

This is with 4.3.0 20070522 (plus patch of PR 32018) on
x86_64-unknown-linux-gnu.

It was working with 2007-05-17-r124781 and fails with 2007-05-18-r124816.


Test case is part of
http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html

valgrind prints:
==10723== Conditional jump or move depends on uninitialised value(s)
==10723==    at 0x7A4298: vrp_evaluate_conditional_warnv (tree-vrp.c:4803)
==10723==    by 0x7A4939: vrp_evaluate_conditional (tree-vrp.c:4935)
==10723==    by 0x77F6B5: thread_across_edge (tree-ssa-threadedge.c:443)
==10723==    by 0x79FEC7: vrp_finalize (tree-vrp.c:5849)
==10723==    by 0x7A14CA: execute_vrp (tree-vrp.c:6000)
==10723==    by 0x609CC0: execute_one_pass (passes.c:1065)
==10723==    by 0x609E7B: execute_pass_list (passes.c:1117)
==10723==    by 0x609E8D: execute_pass_list (passes.c:1118)
==10723==    by 0x6D4457: tree_rest_of_compilation (tree-optimize.c:406)
==10723==    by 0x81330F: cgraph_expand_function (cgraphunit.c:1086)
==10723==    by 0x8157B1: cgraph_optimize (cgraphunit.c:1155)
==10723==    by 0x46710C: gfc_be_parse_file (f95-lang.c:307)
==10723==
==10723== Invalid read of size 2
==10723==    at 0x784C41: verify_ssa_name (tree-ssa.c:109)
==10723==    by 0x786608: verify_ssa (tree-ssa.c:716)
==10723==    by 0x609AD4: execute_function_todo (passes.c:918)
==10723==    by 0x60983A: execute_todo (passes.c:942)
==10723==    by 0x609D19: execute_one_pass (passes.c:1087)
==10723==    by 0x609E7B: execute_pass_list (passes.c:1117)
==10723==    by 0x609E8D: execute_pass_list (passes.c:1118)
==10723==    by 0x609E8D: execute_pass_list (passes.c:1118)
==10723==    by 0x609E8D: execute_pass_list (passes.c:1118)
==10723==    by 0x6D4457: tree_rest_of_compilation (tree-optimize.c:406)
==10723==    by 0x81330F: cgraph_expand_function (cgraphunit.c:1086)
==10723==    by 0x8157B1: cgraph_optimize (cgraphunit.c:1155)
==10723==  Address 0xA5A5A5A5A5A5A5A5 is not stack'd, malloc'd or (recently)
free'd


-- 
           Summary: [4.3 Regression]  ICE(segfault) with -m32 -ftree-
                    vectorize in vrp_evaluate_conditional_warnv
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to