gcc/testsuite/gfortran.dg/promotion.f90
raw| 1 | ! { dg-do run { target i?86-*-* x86_64-*-* } } |
| 2 | ! { dg-require-effective-target ilp32 } |
| 3 | ! { dg-options "-fdefault-integer-8 -fdefault-real-8 -fdefault-double-8" } |
| 4 | program a |
| 5 | logical l |
| 6 | integer i |
| 7 | real x |
| 8 | double precision d |
| 9 | if (kind(l) /= 8) STOP 1 |
| 10 | if (kind(i) /= 8) STOP 2 |
| 11 | if (kind(x) /= 8) STOP 3 |
| 12 | if (kind(d) /= 8) STOP 4 |
| 13 | end program a |