https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66714
--- Comment #3 from vries at gcc dot gnu.org --- The cause of the SIGSEGV is that for loc fdata.5 in main._omp_fn.46 DECL_HAS_VALUE_EXPR_P (loc) is set, but DECL_VALUE_EXPR (loc) is NULL: ... Program received signal SIGSEGV, Segmentation fault. 0x000000000092e8c9 in loc_list_from_tree (loc=0x0, want_address=0, context=0x0) at /home/vries/gcc_versions/devel/gomp-4_0-branch/src/gcc/dwarf2out.c:14444 14444 switch (TREE_CODE (loc)) (gdb) up #1 0x000000000092eeef in loc_list_from_tree (loc=0x7ffff5f03870, want_address=0, context=0x0) at /home/vries/gcc_versions/devel/gomp-4_0-branch/src/gcc/dwarf2out.c:14571 14571 want_address, context); (gdb) l 14566 14567 case PARM_DECL: 14568 case RESULT_DECL: 14569 if (DECL_HAS_VALUE_EXPR_P (loc)) 14570 return loc_list_from_tree (DECL_VALUE_EXPR (loc), 14571 want_address, context); 14572 /* FALLTHRU */ 14573 14574 case FUNCTION_DECL: 14575 { (gdb) call debug_generic_expr (loc) fdata.5 (gdb) call current_function_name () $1 = 0x7ffff5efc190 "main._omp_fn.46" ...