reorder elements or use -fno-align-commons
Jack Howarth
howarth@bromo.med.uc.edu
Mon Jan 19 23:44:00 GMT 2009
What exactly are the implications of warnings like...
Included at xadc.f:785:
COMMON /IXADC1/ EXPXADCPTRS,
1
Warning: COMMON 'ixadc1' at (1) requires 4 bytes of padding at start; reorder elements or use -fno-align-commons
xadc.fcm:75.21:
...from current gcc trunk. I see a number of these warnings when compiling xplor-nih
but they don't seem to be associated with any regressions. Do these warnings imply a
possible wrong-code generation because of the incorrect alignment or just a suboptimal
ability for gfortran to do code optimizations? Thanks in advance for any clarifications
on this warning.
Jack
More information about the Fortran
mailing list