This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23074] New: g77-style typeless BOZ constants not implemented
- From: "p dot w dot draper at durham dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2005 12:12:05 -0000
- Subject: [Bug fortran/23074] New: g77-style typeless BOZ constants not implemented
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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