This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33609] New: ICE on arithmetic overflow
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2007 13:25:39 -0000
- Subject: [Bug fortran/33609] New: ICE on arithmetic overflow
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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