------- Comment #20 from dominiq at lps dot ens dot fr  2007-07-29 13:26 -------
> And did you set a breakpoint on fancy_abort?

If it has to be done explicitely, the answer is no. Doing it I get:

(gdb) break fancy_abort
Breakpoint 1 at 0xbf4ec: file ../../gcc-4.3-20070727/gcc/diagnostic.c, line
655.
(gdb) run -fdefault-integer-8 -m64 forall_4_db.f90
Starting program: /opt/gcc/gcc4.3l/libexec/gcc/powerpc-apple-darwin8/4.3.0/f951
-fdefault-integer-8 -m64 forall_4_db.f90
Reading symbols for shared libraries ..+....+++. done
 foot MAIN__ w t
Breakpoint 1, fancy_abort (file=0x6e168c
"../../gcc-4.3-20070727/gcc/emit-rtl.c", line=706, function=0x71682c
"gen_rtx_SUBREG") at ../../gcc-4.3-20070727/gcc/diagnostic.c:655
655       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) backtrace
#0  fancy_abort (file=0x6e168c "../../gcc-4.3-20070727/gcc/emit-rtl.c",
line=706, function=0x71682c "gen_rtx_SUBREG") at
../../gcc-4.3-20070727/gcc/diagnostic.c:655
#1  0x002035c8 in gen_rtx_SUBREG (mode=SImode, reg=0x436c73d0, offset=0) at
../../gcc-4.3-20070727/gcc/emit-rtl.c:706
#2  0x00289b58 in expand_binop (mode=QImode, binoptab=0x4362c800,
op0=0x436c73d0, op1=0x4360dbc0, target=0x0, unsignedp=1,
methods=OPTAB_LIB_WIDEN) at ../../gcc-4.3-20070727/gcc/optabs.c:1531
#3  0x0021d824 in expand_expr_real_1 (exp=0x436b66a0, target=0x0, tmode=DImode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.3-20070727/gcc/expr.c:8803
#4  0x0022c2ec in expand_expr_real (exp=0x436b66a0, target=0x0, tmode=DImode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.3-20070727/gcc/expr.c:6902
#5  0x00220b38 in expand_expr_real_1 (exp=0x436d0280, target=0x436c73b0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-4.3-20070727/gcc/expr.c:7960
#6  0x0022c2ec in expand_expr_real (exp=0x436d0280, target=0x436c73b0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-4.3-20070727/gcc/expr.c:6902
#7  0x00232cec in store_expr (exp=0x436d0280, target=0x436d2100,
call_param_p=0, nontemporal=208 'Ð') at ../../gcc-4.3-20070727/gcc/expr.c:4456
#8  0x00234ca0 in expand_assignment (to=0x436b1000, from=0x436b66a0,
nontemporal=0 '\0') at ../../gcc-4.3-20070727/gcc/expr.c:4308
#9  0x0021afc8 in expand_expr_real_1 (exp=0x436b0200, target=0x436b1000,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-4.3-20070727/gcc/expr.c:8921
#10 0x0022c450 in expand_expr_real (exp=0x436b0200, target=0x4360dbb0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-4.3-20070727/gcc/expr.c:6896
#11 0x004b1488 in expand_expr_stmt (exp=0x436b0200) at
../../gcc-4.3-20070727/gcc/expr.h:503
#12 0x004e57c8 in expand_gimple_basic_block (bb=0x436bcdc0) at
../../gcc-4.3-20070727/gcc/cfgexpand.c:1614
#13 0x004e69dc in tree_expand_cfg () at
../../gcc-4.3-20070727/gcc/cfgexpand.c:1921
#14 0x00291b90 in execute_one_pass (pass=0x80cd00) at
../../gcc-4.3-20070727/gcc/passes.c:1124
#15 0x00291db0 in execute_pass_list (pass=0x80cd00) at
../../gcc-4.3-20070727/gcc/passes.c:1177
#16 0x002ee27c in tree_rest_of_compilation (fndecl=0x43695880) at
../../gcc-4.3-20070727/gcc/tree-optimize.c:405
#17 0x001a02c4 in cgraph_expand_function (node=0x4360bd00) at
../../gcc-4.3-20070727/gcc/cgraphunit.c:1072
#18 0x001a1900 in cgraph_assemble_pending_functions () at
../../gcc-4.3-20070727/gcc/cgraphunit.c:435
#19 0x001a1ddc in cgraph_finalize_function (decl=0x43695880, nested=0 '\0') at
../../gcc-4.3-20070727/gcc/cgraphunit.c:552
#20 0x00094998 in gfc_generate_function_code (ns=0x436aaba0) at
../../gcc-4.3-20070727/gcc/fortran/trans-decl.c:3407
#21 0x00050a8c in gfc_parse_file () at
../../gcc-4.3-20070727/gcc/fortran/parse.c:3287
#22 0x000774a4 in gfc_be_parse_file (set_yydebug=7214732) at
../../gcc-4.3-20070727/gcc/fortran/f95-lang.c:301
#23 0x0011cefc in toplev_main (argc=8365508, argv=0x431070b0) at
../../gcc-4.3-20070727/gcc/toplev.c:1043
#24 0x00002330 in _start ()
#25 0x00002034 in start ()

The old dog has learnt a new trick!-)


-- 


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

Reply via email to