------- Additional Comments From Thomas dot Koenig at online dot de 2004-12-06 08:37 ------- (In reply to comment #1) > Alternatively, do other compilers omit padding in sequence types?
ifort does so, unless the '-pad' option is given: http://www.intel.com/software/products/compilers/flin/docs/for_ug2/cmp_algn.htm So does Compaq fortran, unless you specify /align:sequence : http://h18009.www1.hp.com/fortran/docs/vf-html/pg/pgualopt.htm xlf also does it, but marks it as an extension: http://www-1.ibm.com/support/docview.wss?uid=swg27003923&aid=1 , page 454: # The size of a sequence derived type is equal to the number of bytes # of storage needed to hold all of the components of that derived type. The point seems somewhat to be in contention as far as a standards requirement is concerned: http://j3-fortran.org/doc/meeting/150/99-190.txt I've changed the bug type to "enhancement" with this. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|WAITING |NEW Ever Confirmed| |1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18850