$ cat o1.f90 
print *, isnan (0.)
end
$ gfortran o1.f90 
o1.f90: In function 'MAIN__':
o1.f90:1: internal compiler error: in expand_expr_addr_expr_1, at expr.c:6830

The backtrace is:

#0  fancy_abort (file=0x81818c "../../trunk/gcc/expr.c", line=6830,
function=0x818638 "expand_expr_addr_expr_1") at
../../trunk/gcc/diagnostic.c:660
#1  0x00276774 in expand_expr_addr_expr_1 (exp=0x4264ac60, target=0x0,
tmode=SImode, modifier=EXPAND_NORMAL) at ../../trunk/gcc/expr.c:6830
#2  0x00276418 in expand_expr_addr_expr_1 (exp=0x4260f360, target=0x0,
tmode=SImode, modifier=EXPAND_NORMAL) at ../../trunk/gcc/expr.c:6756
#3  0x0026f614 in expand_expr_real_1 (exp=0x4264ac80, target=0x0, tmode=SImode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../trunk/gcc/expr.c:6892
#4  0x00271698 in expand_expr_real (exp=0x4264ac80, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../trunk/gcc/expr.c:7088
#5  0x0038b0c4 in expand_call (exp=0x42605540, target=0x0, ignore=0) at
../../trunk/gcc/expr.h:520
#6  0x00262b28 in expand_expr_real_1 (exp=0x42605540, target=0x4260c400,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../trunk/gcc/expr.c:8048
#7  0x00271664 in expand_expr_real (exp=0x42605540, target=0x4260c400,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../trunk/gcc/expr.c:7082
#8  0x00556ac8 in expand_expr_stmt (exp=0x42605540) at
../../trunk/gcc/expr.h:514
#9  0x0058a6b0 in expand_gimple_basic_block (bb=0x42605780) at
../../trunk/gcc/cfgexpand.c:1606
#10 0x0058b2ac in tree_expand_cfg () at ../../trunk/gcc/cfgexpand.c:1913


-- 
           Summary: ICE on ppc-darwin with ISNAN
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin8.10.0
  GCC host triplet: powerpc-apple-darwin8.10.0
GCC target triplet: powerpc-apple-darwin8.10.0


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

Reply via email to