Commit d3dac0ae by David Billinghurst Committed by David Billinghurst

re PR fortran/5473 (ICE on BESJN(integer*8,real))

2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

	PR fortran/5473
	* g77.dg/pr5473.f: Now dg-error.  Add additional cases.

From-SVN: r49594
parent 768070a0
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/5473
* g77.dg/pr5473.f: Now dg-error. Add additional cases.
2002-02-07 Richard Henderson <rth@redhat.com> 2002-02-07 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory * g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
...@@ -9,7 +14,7 @@ ...@@ -9,7 +14,7 @@
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com> 2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/3743 PR fortran/5743
* g77.f-torture/execute/intrinsic-unix-bessel.f: Remove * g77.f-torture/execute/intrinsic-unix-bessel.f: Remove
unsupported cases. unsupported cases.
......
program pr5473 program pr5473
c Derived from g77.f-torture/execute/intrinsic-unix-bessel.f c Derived from g77.f-torture/execute/intrinsic-unix-bessel.f
c Origin: David Billinghurst <David.Billinghurst@riotinto.com> c Origin: David Billinghurst <David.Billinghurst@riotinto.com>
c { dg-do compile { xfail *-*-* } } c { dg-do compile }
c { dg-excess-errors "Assertion failed" { xfail *-*-* } }
real x, a real x, a
double precision dx, da
integer*8 m integer*8 m
x = 2.0 x = 2.0
dx = x
m = 2 m = 2
a = BESJN(m,x) a = BESJN(m,x) ! { dg-error "incorrect type" "incorrect type" }
a = BESYN(m,x) ! { dg-error "incorrect type" "incorrect type" }
da = DBESJN(m,dx) ! { dg-error "incorrect type" "incorrect type" }
da = DBESYN(m,dx) ! { dg-error "incorrect type" "incorrect type" }
end end
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