------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-08-07 23:41 ------- Another apparent example of the same ICE is since in...
FAIL: gfortran.dg/bounds_check_strlen_8.f90 -O2 (internal compiler error) which fails as... gfortran bounds_check_strlen_8.f90 -O2 -fbounds-check -fgraphite-identity -m32 -o ./bounds_check_strlen_8.exe bounds_check_strlen_8.f90: In function s1: bounds_check_strlen_8.f90:26:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. and backtraces as... gdb /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/f951 GNU gdb 6.3.50-20050815 (Apple version gdb-1469) (Wed May 5 04:36:56 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ............. done (gdb) r bounds_check_strlen_8.f90 -fPIC -quiet -dumpbase bounds_check_strlen_8.f90 -mmacosx-version-min=10.6.4 -m32 -mtune=generic -auxbase bounds_check_strlen_8 -O2 -version -fbounds-check -fgraphite-identity -fintrinsic-modules-path /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin10.4.0/4.6.0/finclude -o bounds_check_strlen_8.s Starting program: /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/f951 bounds_check_strlen_8.f90 -fPIC -quiet -dumpbase bounds_check_strlen_8.f90 -mmacosx-version-min=10.6.4 -m32 -mtune=generic -auxbase bounds_check_strlen_8 -O2 -version -fbounds-check -fgraphite-identity -fintrinsic-modules-path /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin10.4.0/4.6.0/finclude -o bounds_check_strlen_8.s Reading symbols for shared libraries .++++++++++++..... done GNU Fortran (GCC) version 4.6.0 20100807 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20100807 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran (GCC) version 4.6.0 20100807 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20100807 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 is_gimple_reg (t=0x0) at ../../gcc-4.6-20100807/gcc/gimple.c:2861 2861 if (TREE_CODE (t) == SSA_NAME) (gdb) bt #0 is_gimple_reg (t=0x0) at ../../gcc-4.6-20100807/gcc/gimple.c:2861 #1 0x000000010050c489 in rewrite_cross_bb_scalar_deps_out_of_ssa (scop=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.6-20100807/gcc/graphite-sese-to-poly.c:2468 #2 0x00000001004e4ce5 in graphite_transform_loops () at ../../gcc-4.6-20100807/gcc/graphite.c:291 #3 0x00000001007908ba in graphite_transforms () at ../../gcc-4.6-20100807/gcc/tree-ssa-loop.c:296 #4 0x00000001005d1e26 in execute_one_pass (pass=0x100cde360) at ../../gcc-4.6-20100807/gcc/passes.c:1567 #5 0x00000001005d20fd in execute_pass_list (pass=0x100cde360) at ../../gcc-4.6-20100807/gcc/passes.c:1622 #6 0x00000001005d210f in execute_pass_list (pass=0x100cde3c0) at ../../gcc-4.6-20100807/gcc/passes.c:1623 #7 0x00000001005d210f in execute_pass_list (pass=0x100cde660) at ../../gcc-4.6-20100807/gcc/passes.c:1623 #8 0x00000001005d210f in execute_pass_list (pass=0x100cdd800) at ../../gcc-4.6-20100807/gcc/passes.c:1623 #9 0x00000001006fe89c in tree_rest_of_compilation (fndecl=0x141ef3600) at ../../gcc-4.6-20100807/gcc/tree-optimize.c:452 #10 0x00000001008d109d in cgraph_expand_function (node=0x141ef7158) at ../../gcc-4.6-20100807/gcc/cgraphunit.c:1643 #11 0x00000001008d434a in cgraph_optimize () at ../../gcc-4.6-20100807/gcc/cgraphunit.c:1722 #12 0x00000001008d49da in cgraph_finalize_compilation_unit () at ../../gcc-4.6-20100807/gcc/cgraphunit.c:1185 #13 0x000000010055f7c6 in write_global_declarations () at ../../gcc-4.6-20100807/gcc/langhooks.c:310 #14 0x0000000100690afe in toplev_main (argc=19, argv=0x7fff5fbfee80) at ../../gcc-4.6-20100807/gcc/toplev.c:983 #15 0x00000001000017c4 in start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45229