[Patch, fortran] PR37614 - Change position of padding for aligned COMMONs

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Jan 17 19:09:00 GMT 2009


On Sat, Jan 17, 2009 at 09:47:17AM -0800, Jerry DeLisle wrote:
> Paul Richard Thomas wrote:
> >Dear All,
> >
> >Before I post this patch for real, I would like to know what you would
> >like to see by way of an option, if any, to recover the present (and
> >g77's) behaviour?  Maybe this is not needed?
> >
> 
> Seems we should maintain compatibility with g77 if it matters regarding 
> using g77 compiled libraries or .obj files working properly with gfortran 
> compiled libraries or .obj files.
> 
> How about this:   -fg77-common-align
> 

gfortran already has the -ff2c option to generate code compatible
with g77 (and f2c).  If paultt choose to allow both alignment
possibilities, then I think you can hid it behind -ff2c.

-- 
Steve



More information about the Fortran mailing list