This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16433] New: gfortran wrong hexadecimal constant warning
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2004 13:02:01 -0000
- Subject: [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code, derived from g77.dg/pr5473.f, gives an incorrect warning.
I think it is standard Fortran 77/90/95.
real x
double precision dx
x = 2.0
dx = x
end
/usr/local/obj/gcc-f/gcc/testsuite/../gfortran -B/usr/local/obj/gcc-
f/gcc/testsuite/../ /usr/local/src/gcc/gcc/testsuite/gfortran.dg/pr5473a.f -
O0 -pedantic-errors -S -o pr5473a.s
In file /usr/local/src/gcc/gcc/testsuite/gfortran.dg/pr5473a.f:4
dx = x
1
Warning: Extension: Hexadecimal constant at (1) uses non-standard syntax.
--
Summary: gfortran wrong hexadecimal constant warning
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: billingd at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16433