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]

Re: [PATCH, gfortran] Add BYTE type


On Tue, Aug 09, 2005 at 06:13:10PM +0200, FX Coudert wrote:
> >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.)
> 
> I have the few following comments (in decreasing order of importance):
> 
>   * BYTE is supported by g77; so I think we shouldn't add a special 
> -fbyte-type but include it by default as GFC_STD_GNU or GFC_STD_LEGACY.
> 

I agree with this and ould suggest GFC_STD_GNU as the proper
flag for backwards compatibility with g77.  One advantage
of this change is the patch should be much smaller.

-- 
Steve


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