This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29561] hexadecimal constant problem



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]