This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29561] hexadecimal constant problem
- From: "kloedej at knmi dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 12:03:50 -0000
- Subject: [Bug fortran/29561] hexadecimal constant problem
- References: <bug-29561-11277@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kloedej at knmi dot nl 2006-10-23 12:03 -------
Sorry, variable names should differ of course, the sample code should be:
program testhexconstant
integer, parameter :: i4_ = Selected_Int_Kind( 9)
! works fine
integer(i4_), parameter :: a = z"7F800001"
! triggers an error
integer(i4_), parameter :: b = z"FF800001"
end program testhexconstant
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29561