New test.
authorDave Love <fx@gcc.gnu.org>
Sat, 23 May 1998 09:54:41 +0000 (09:54 +0000)
committerDave Love <fx@gcc.gnu.org>
Sat, 23 May 1998 09:54:41 +0000 (09:54 +0000)
From-SVN: r19972

gcc/testsuite/g77.f-torture/compile/970915-0.f [new file with mode: 0644]

diff --git a/gcc/testsuite/g77.f-torture/compile/970915-0.f b/gcc/testsuite/g77.f-torture/compile/970915-0.f
new file mode 100644 (file)
index 0000000..267c873
--- /dev/null
@@ -0,0 +1,19 @@
+* fixed by patch to safe_from_p to avoid visiting any SAVE_EXPR
+* node twice in a given top-level call to it.
+
+      SUBROUTINE TSTSIG11
+      IMPLICIT COMPLEX (A-Z)
+      EXTERNAL gzi1,gzi2
+      branch3 =  sw2 / cw
+     .     * (  rdw * (epsh*gzi1(A,B)-gzi2(A,B))
+     .     + rdw * (epsh*gzi1(A,B)-gzi2(A,B)) )
+     .     + (-1./2. + 2.*sw2/3.) / (sw*cw)
+     .     * rdw * (epsh*gzi1(A,B)-gzi2(A,B)
+     .     + rdw * (epsh*gzi1(A,B)-gzi2(A,B))
+     .     + rdw * (epsh*gzi1(A,B)-gzi2(A,B)) )
+     .     * rup * (epsh*gzi1(A,B)-gzi2(A,B)
+     .     + rup * (epsh*gzi1(A,B)-gzi2(A,B)) )
+     .     * 4.*(3.-tw**2) * gzi2(A,B)
+     .     + ((1.+2./tauw)*tw**2-(5.+2./tauw))* gzi1(A,B)
+      RETURN
+      END