[Bug fortran/23907] missing switch-case in function "gfc_simplify_radix" in gcc/fortran/simplify.c?
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 16 02:02:00 GMT 2005
------- Additional Comments From kargl at gcc dot gnu dot org 2005-09-16 02:01 -------
gfc_simplify_radix is used in intrinsic.c for simplification of the
RADIX intrinsic function. The standard defines RADIX for REAL and
INTEGER. See 13.14.84.
program mn
complex z
print*, radix(z)
end program mn
kargl[207] gfc41 -static -o z mn.f90
In file mn.f90:3
print*, radix(z)
1
Error: 'x' argument of 'radix' intrinsic at (1) must be INTEGER or REAL
The same holds for gfc_simplify_huge, gfc_simplify_dim, and gfc_simplify_sign.
Please read Chapter 13 of the standard and intrinsic.c
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23907
More information about the Gcc-bugs
mailing list