This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33609] ICE on arithmetic overflow
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2007 17:36:18 -0000
- Subject: [Bug fortran/33609] ICE on arithmetic overflow
- References: <bug-33609-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-10-06 17:36 -------
Nevermind above comment, I can reproduce the problem with:
print *, real(huge(1.0_8),4)
end
(gdb) bt
#0 gfc_range_check (e=0x0) at ../../gcc43/gcc/fortran/arith.c:524
#1 0x0000000000464f29 in range_check (result=0x0, name=0xb5e935 "REAL")
at ../../gcc43/gcc/fortran/simplify.c:73
#2 0x0000000000427ceb in do_simplify (specific=0xfd6108, e=0x1059df0)
at ../../gcc43/gcc/fortran/intrinsic.c:3179
#3 0x0000000000428b1a in gfc_intrinsic_func_interface (expr=0x1059df0,
error_flag=1) at ../../gcc43/gcc/fortran/intrinsic.c:3437
#4 0x000000000045b3ad in gfc_resolve_expr (e=0x1059df0)
at ../../gcc43/gcc/fortran/resolve.c:1568
#5 0x000000000045e63a in resolve_code (code=0xfc2e80, ns=0x10592b0)
at ../../gcc43/gcc/fortran/resolve.c:5988
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-10-01 20:11:40 |2007-10-06 17:36:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33609