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]

[PATCH, gfortran] Add BYTE type


:ADDPATCH fortran:

This patch adds a BYTE type to gfortran (enabled by -fbyte-type). This is just treated as an INTEGER(1), and is for compatibility with old non-standard Fortran codes. (This type is enabled by default in ifort, pgf90, and xlf90.)

2005-08-08  Asher Langton  <langton2@llnl.gov>
	* decl.c (match_type_spec) : Added BYTE

* gfortran.h (gfc_option): Added flag_byte_type

* invoke.texi: Added -fbyte-type flag info

* lang.opt: Added -fbyte-type

	* options.c (gfc_init_options): Initialized gfc_option.flag_byte_type
	(gfc_handle_option):  Added OPT_fbyte_type case


2005-08-08 Asher Langton <langton2@llnl.gov>


gfortran.dg/byte1.f90: New


-Asher

Attachment: byte_8_08d.diff
Description: Binary data

Attachment: byte1.f90
Description: Binary data


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