]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/37486 (alignment of data in COMMON blocks)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 22 Sep 2008 11:45:02 +0000 (13:45 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 22 Sep 2008 11:45:02 +0000 (13:45 +0200)
commitf613cea7fc41d8133a083ced6cc0a11b9312f110
tree5ace57c212233d9f04bcb96b875d8137f2545d01
parent22868cbf560231317a5c82348c08d396fa29f471
re PR fortran/37486 (alignment of data in COMMON blocks)

2008-09-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/37486
* gfortran.h (gfc_option_t): New members flag_align_commons and
warn_align_commons.
* lang.opt: New options falign-commons and Walign-commons.
* invoke.texi: Documentation for new options.
* options.c (gfc_init_options): Initialize new options.
(gfc_handle_options): Handle new options.
* trans-common.c (translate_common): Implement new options.
(gfc_trans_common): Set correct locus.

2008-09-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/37486
* gfortran.dg/common_align_1.f90: New.
* gfortran.dg/warn_align_commons.f90: New.

From-SVN: r140546
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/common_align_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/warn_align_commons.f90 [new file with mode: 0644]