[Bug fortran/37486] alignment of data in COMMON blocks

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 12 18:45:00 GMT 2008



------- Comment #3 from kargl at gcc dot gnu dot org  2008-09-12 18:44 -------
(In reply to comment #2)
> (In reply to comment #1)
> > the program is non-standard Fortran, but it is legacy, so an option would be
> > useful.
> > 
> 
> Why is it nonstandard?
> 
> Maybe I'm misreading 5.5.2.1 and 5.5.2.3 from the F95 standard, which
> suggest to me that the program is conforming.
> 

Yeah, I'm responding to myself.  5.5.2.1 actually suggests that gfortran's
behavior of adding padding is violation of standard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37486



More information about the Gcc-bugs mailing list