------- Comment #13 from fxcoudert at gcc dot gnu dot org 2007-01-10 06:43 ------- $ cat > a.f90 function f(l) logical(8) :: f logical(8) :: l f = .not.l end function f $ gfortran a.f90 a.f90: In function f: a.f90:1: internal compiler error: in emit_move_insn, at expr.c:3276 $ gfortran -v Using built-in specs. Target: powerpc-apple-darwin8.8.0 Configured with: ../trunk/configure --prefix=/Users/fx/gfortran/devel/irun --enable-languages=c,fortran --with-gmp=/Users/fx/gfortran/gfortran_libs/macosx --disable-bootstrap Thread model: posix gcc version 4.3.0 20070109 (experimental)
The backtrace is: Breakpoint 1, fancy_abort (file=0x6b45d8 "../../trunk/gcc/expr.c", line=3276, function=0x6b4920 "emit_move_insn") at ../../trunk/gcc/diagnostic.c:642 642 internal_error ("in %s, at %s:%d", function, trim_filename (file), line); (gdb) where #0 fancy_abort (file=0x6b45d8 "../../trunk/gcc/expr.c", line=3276, function=0x6b4920 "emit_move_insn") at ../../trunk/gcc/diagnostic.c:642 #1 0x00207778 in emit_move_insn (x=0x42e65b80, y=0x42e65af0) at ../../trunk/gcc/expr.c:3275 #2 0x00475e7c in expand_value_return (val=0x42e65af0) at ../../trunk/gcc/stmt.c:1548 #3 0x004799fc in expand_return (retval=0x42e78640) at ../../trunk/gcc/stmt.c:1732 #4 0x00204d28 in expand_expr_real_1 (exp=0x42e78540, target=0x42e0dbb0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../trunk/gcc/expr.c:8629 #5 0x00206478 in expand_expr_real (exp=0x42e78540, target=0x42e0dbb0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../trunk/gcc/expr.c:6717 #6 0x00478ef8 in expand_expr_stmt (exp=0x42e78540) at ../../trunk/gcc/expr.h:496 #7 0x00481450 in expand_gimple_basic_block (bb=0x42e0f140) at ../../trunk/gcc/cfgexpand.c:1530 #8 0x00481df0 in tree_expand_cfg () at ../../trunk/gcc/cfgexpand.c:1800 #9 0x002c434c in execute_one_pass (pass=0x7b3074) at ../../trunk/gcc/passes.c:942 #10 0x002c44c8 in execute_pass_list (pass=0x7b3074) at ../../trunk/gcc/passes.c:990 #11 0x002b4aa4 in tree_rest_of_compilation (fndecl=0x42e79200) at ../../trunk/gcc/tree-optimize.c:543 #12 0x0017d48c in cgraph_expand_function (node=0x42e0b700) at ../../trunk/gcc/cgraphunit.c:989 #13 0x0017d888 in cgraph_assemble_pending_functions () at ../../trunk/gcc/cgraphunit.c:358 #14 0x0017df2c in cgraph_finalize_function (decl=0x42e79200, nested=0 '\0') at ../../trunk/gcc/cgraphunit.c:476 #15 0x0008dc2c in gfc_generate_function_code (ns=0x43012e00) at ../../trunk/gcc/fortran/trans-decl.c:3323 #16 0x0004d164 in gfc_parse_file () at ../../trunk/gcc/fortran/parse.c:3263 #17 0x00070130 in gfc_be_parse_file (set_yydebug=7030232) at ../../trunk/gcc/fortran/f95-lang.c:307 -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.3.0 Last reconfirmed|2007-01-09 16:13:11 |2007-01-10 06:43:58 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30406