2 ! { dg-options "-pedantic-errors -mdalign" { target sh*-*-* } }
3 ! Tests the fix for PR37614, in which the alignement of commons followed
4 ! g77 rather than the standard or other compilers.
6 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
11 equivalence (x, i(3)),(y,i(7))
12 if ((i(1) .ne. 42) .or. (i(5) .ne. 43)) call abort
13 if ((i(2) .ne. 0) .or. (i(2) .ne. 0)) call abort
14 if ((x .ne. z) .or. (y .ne. z)) call abort
23 common i, x, j, y ! { dg-warning "Padding" }