| 1 |
! { dg-do run } |
| 2 |
! Test program inspired by bug report from Walt Brainerd. |
| 3 |
! http://gcc.gnu.org/ml/fortran/2005-04/msg00132.html |
| 4 |
program tiny1 |
| 5 |
real(4) x4 |
| 6 |
real(8) x8 |
| 7 |
if (minexponent(x4) /= exponent(tiny(x4))) STOP 1 |
| 8 |
if (minexponent(x8) /= exponent(tiny(x8))) STOP 2 |
| 9 |
end program tiny1 |