http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51162
Bug #: 51162 Summary: [Regression] ICE: segfault in dump_gimple_call Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: greta.yo...@arm.com CC: ram...@gcc.gnu.org Target: arm-none-eabi After the merge with transaction memory branch (trunk r181154), segmentation fault on arm-none-eabi in tests from gcc/testsuite/gcc.dg/vect/* that run with -fdump-tree-vect-details, cc1 /work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/vect/vect-outer-6.c -quiet -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=neon -O1 -ffast-math -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details -o vect-outer-6.s Program received signal SIGSEGV, Segmentation fault. dump_gimple_call (buffer=0x132cfc0, gs=0x7ffff7661cc0, spc=0, flags=2) at /work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:702 701: /* Dump the arguments of _ITM_beginTransaction sanely. */ 702: if (TREE_CODE (fn) == ADDR_EXPR) (gdb) p fn $1 = (tree) 0x0 (gdb) info stack #0 dump_gimple_call (buffer=0x132cfc0, gs=0x7ffff7661cc0, spc=0, flags=2) at /work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:702 #1 0x000000000071f4c5 in dump_gimple_stmt (buffer=0x132cfc0, gs=0x7ffff7661cc0, spc=0, flags=2) at /work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:1919 #2 0x0000000000723c32 in print_gimple_stmt (file=<value optimised out>, g=0x7ffff7661cc0, spc=0, flags=2) at /work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:100 #3 0x0000000000a156d5 in vect_finish_stmt_generation (stmt=0x7ffff75a99b0, vec_stmt=0x7ffff7661cc0, gsi=<value optimised out>) at /work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:1487 #4 0x0000000000a1e7f5 in vectorizable_load (stmt=0x7ffff75a99b0, gsi=<value optimised out>, vec_stmt=<value optimised out>, slp_node=<value optimised out>, slp_node_instance=<value optimised out>) at /work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:4654 #5 0x0000000000a239b3 in vect_transform_stmt (stmt=0x7ffff75a99b0, gsi=0x7fffffffe050, strided_store=0x7fffffffe08f "", slp_node=0x0, slp_node_instance=0x1) at /work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:5459 #6 0x0000000000a27bc0 in vect_transform_loop (loop_vinfo=<value optimised out>) at /work/local-checkouts/gcc-fsf/gcc/tree-vect-loop.c:5331 #7 0x0000000000a40fbf in vectorize_loops () at /work/local-checkouts/gcc-fsf/gcc/tree-vectorizer.c:214 #8 0x00000000007ec5d9 in execute_one_pass (pass=0x12e7060) at /work/local-checkouts/gcc-fsf/gcc/passes.c:2074 #9 0x00000000007ec945 in execute_pass_list (pass=0x12e7060) at /work/local-checkouts/gcc-fsf/gcc/passes.c:2129 #10 0x00000000007ec957 in execute_pass_list (pass=0x12e6e80) at /work/local-checkouts/gcc-fsf/gcc/passes.c:2130 #11 0x00000000007ec957 in execute_pass_list (pass=0x12e6580) at /work/local-checkouts/gcc-fsf/gcc/passes.c:2130 #12 0x0000000000900fa8 in tree_rest_of_compilation (fndecl=0x7ffff75c0000) at /work/local-checkouts/gcc-fsf/gcc/tree-optimize.c:420 #13 0x00000000005cc5ca in cgraph_expand_function (node=0x7ffff75c5000) at /work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1819 #14 0x00000000005cfcca in cgraph_expand_all_functions () at /work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1886 #15 cgraph_optimize () at /work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:2199 #16 0x00000000005d0335 in cgraph_finalize_compilation_unit () at /work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1327 #17 0x00000000004a9980 in c_write_global_declarations () at /work/local-checkouts/gcc-fsf/gcc/c-decl.c:10023 #18 0x0000000000891c7a in compile_file (argc=13, argv=0x7fffffffe3d8) at /work/local-checkouts/gcc-fsf/gcc/toplev.c:581 #19 do_compile (argc=13, argv=0x7fffffffe3d8) at /work/local-checkouts/gcc-fsf/gcc/toplev.c:1931 #20 toplev_main (argc=13, argv=0x7fffffffe3d8) at /work/local-checkouts/gcc-fsf/gcc/toplev.c:2007 #21 0x00007ffff7874c4d in __libc_start_main () from /lib/libc.so.6 #22 0x00000000004997e9 in _start ()