Commit 748e31c3 by Steven G. Kargl Committed by Steven G. Kargl

New test for -fdefault-integer-8 and -fdefault-real-8

From-SVN: r97222
parent 3ae9eb27
2005-03-26 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/promotion.f90: New test.
2005-03-29 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/20491
......
! { dg-do run { target i?86-*-* } }
! { dg-options "-fdefault-integer-8 -fdefault-real-8" }
program a
logical l
integer i
real x
double precision d
if (kind(l) /= 8) call abort
if (kind(i) /= 8) call abort
if (kind(x) /= 8) call abort
if (kind(d) /= 8) call abort
end program a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment