--- Additional Comments From gbosilca at utk dot edu 2005-05-04 19:24
---
I get the latest version from CVS. And the bug seems to be fixed on this
version.
fortran compiler version:
applebasket:/tmp root# gfortran --version
GNU Fortran 95 (GCC 4.1.0 20050504 (experimental))
Copyright (C) 2005 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
Result of the code:
In file check_size.F:5
common /foo/a,w,b,x,y,c,z
1
Warning: Padding of 3 bytes required before 'x' in COMMON 'foo' at (1)
In file check_size.F:5
common /foo/a,w,b,x,y,c,z
1
Warning: Padding of 3 bytes required before 'z' in COMMON 'foo' at (1)
In file check_size.F:5
common /foo/a,w,b,x,y,c,z
1
Warning: COMMON 'foo' at (1) requires 3 bytes of padding at start
--
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution||FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21384