[Bug fortran/33609] New: ICE on arithmetic overflow
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Mon Oct 1 13:25:00 GMT 2007
The following code:
print *, real(huge(1.0_8),16)
end
gives an ICE on gcc version 4.3.0 20071001 (experimental) (GCC):
print *, real(huge(1.0_8),16)
1
Error: Arithmetic overflow converting REAL(8) to REAL(16) at (1). This check
can be disabled with the option -fno-range-check
ice_huge_16.f90:0: internal compiler error: Bus error
I see the same on gcc version 4.2.1, but the error is only:
Error: Arithmetic overflow converting REAL(8) to REAL(16) at (1)
--
Summary: ICE on arithmetic overflow
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: powerpc-apple-darwin8
GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33609
More information about the Gcc-bugs
mailing list