[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 = z7F81 ! triggers an error integer(i4_), parameter :: b = zFF81 end program testhexconstant -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29561
[Bug fortran/29561] hexadecimal constant problem
--- Comment #2 from kargl at gcc dot gnu dot org 2006-10-23 17:10 --- Please the audit trail for Pr 18026. It gives the details. Also, the difference in the earlier version of gfortran to the newer version is due to this patch. 2006-09-07 Steven G. Kargl [EMAIL PROTECTED] * gfortran.h (gfc_integer_info): Eliminate max_int. * arith.c (gfc_arith_init_1): Remove initialization of max_int. (gfc_arith_done_1): Remove clearing of max_int. (gfc_check_integer_range): Fix range chekcing of overflow. * simplify.c (gfc_simplify_not): Construct mask that was max_int. *** This bug has been marked as a duplicate of 18026 *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29561