[Bug fortran/58027] New: "Arithmetic overflow converting ..." in PARAMETER triggers an ICE
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Jul 30 12:43:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58027
Bug ID: 58027
Summary: "Arithmetic overflow converting ..." in PARAMETER
triggers an ICE
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
Compiling the following code (extracted from
http://mathalacarte.com/hpcconsult):
INTEGER, PARAMETER :: ISCLASS(1) = &
(/&
Z'FF800000'& ! IEEE_NEGATIVE_INF
/)
print *, isclass
end
gives the following ICE
isclass_3.f90: In function 'MAIN__':
isclass_3.f90:5:0: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:5473
print *, isclass
while it compiles with -fno-range-check.
More information about the Gcc-bugs
mailing list