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

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



------- 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


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