[Bug fortran/23074] New: g77-style typeless BOZ constants not implemented
p dot w dot draper at durham dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Tue Jul 26 12:13:00 GMT 2005
In g77 you define a typeless BOZ constant that can be assigned to any other
type, using the formats '....'X, '....'Z etc. This allows PARAMETERs to be
defined like:
PROGRAM TLBOZ
DOUBLE PRECISION inf, nan
PARAMETER ( inf = '7FF0000000000000'Z )
PARAMETER ( nan = 'FFF8000000000000'X )
print *, inf, nan
END
The relevant g77 description is at:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/g77/Constants.html
This is related to bug 18026.
--
Summary: g77-style typeless BOZ constants not implemented
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot w dot draper at durham dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23074
More information about the Gcc-bugs
mailing list