OSDN Git Service

* gfortran.dg/common_5.f: Add -mdalign for sh.
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Aug 2009 03:27:21 +0000 (03:27 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Aug 2009 03:27:21 +0000 (03:27 +0000)
* gfortran.dg/common_align_2.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150983 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/common_5.f
gcc/testsuite/gfortran.dg/common_align_2.f90

index b3d1357..585f2f0 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-21  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * gfortran.dg/common_5.f: Add -mdalign for sh.
+       * gfortran.dg/common_align_2.f90: Likewise.
+
 2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR libfortran/40962
index d4b9614..0f04b13 100644 (file)
@@ -1,4 +1,5 @@
 C { dg-do compile }
+C { dg-options "-pedantic-errors -mdalign" { target sh*-*-* } }
 C PR 20059
 C Check that the warning for padding works correctly.
       SUBROUTINE PLOTZ
index e3b70d7..09dd3e1 100644 (file)
@@ -1,4 +1,5 @@
 ! { dg-do run }
+! { dg-options "-pedantic-errors -mdalign" { target sh*-*-* } }
 ! Tests the fix for PR37614, in which the alignement of commons followed
 ! g77 rather than the standard or other compilers.
 !