This is the mail archive of the gcc-patches@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]

[gfortran] PATCH Fix PR 20058


See the comment int primary.c for an explanation of what the
patch does.

2005-02-21  Steven G. Kargl  <kargls@comcast.net>

	* trans-type.c (gfc_max_integer_kind): New variable.
	  (gfc_init_kinds): Initialize it.
	* gfortran.h (gfc_max_integer_kind): extern declaration
	* primary.c (match_boz_constant): Use it.

	* testsuite/gfortran.dg/boz_1.f90: Test BOZ constant
	* testsuite/gfortran.dg/boz_2.f90: Test gfortran kind suffix extension
	* testsuite/gfortran.dg/boz_3.f90: Test conversion bewteen kinds
	* testsuite/gfortran.dg/boz_4.f90: Test overflow errors

--
Steve

Attachment: boz_1.f90
Description: Text document

Attachment: boz_2.f90
Description: Text document

Attachment: boz_3.f90
Description: Text document

Attachment: boz_4.f90
Description: Text document


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