* g77.f-torture/compile/20000601-1.f: New test.
authorDavid Billinghurst <David.Billinghurst@riotinto.com.au>
Sat, 3 Jun 2000 21:34:24 +0000 (15:34 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 3 Jun 2000 21:34:24 +0000 (15:34 -0600)
From-SVN: r34383

gcc/testsuite/ChangeLog
gcc/testsuite/g77.f-torture/compile/20000601-1.f [new file with mode: 0644]

index 251e697..11f3f7f 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-03  David Billinghurst  <David Billinghurst@riotinto.com.au>
+
+        * g77.f-torture/compile/20000601-1.f:  New test.
+
 2000-06-03  Richard Henderson  <rth@cygnus.com>
 
        * gcc.c-torture/execute/20000603-1.c: New.
diff --git a/gcc/testsuite/g77.f-torture/compile/20000601-1.f b/gcc/testsuite/g77.f-torture/compile/20000601-1.f
new file mode 100644 (file)
index 0000000..07e9c00
--- /dev/null
@@ -0,0 +1,27 @@
+      SUBROUTINE SGBTRF( M, KL, KU, AB, LDAB )
+
+*  ICE in `change_address', at emit-rtl.c:1589 with -O1 and above
+*  g77 version 2.96 20000530 (experimental) on mips-sgi-irix6.5/-mabi=64
+*
+*  Originally derived from LAPACK 3.0 test suite failure.
+*
+*  David Billinghurst, (David.Billinghurst@riotinto.com.au)
+*  1 June 2000
+
+      INTEGER   KL, KU, LDAB, M
+      REAL      AB( LDAB, * )
+
+      INTEGER   J, JB, JJ, JP, KV, KM
+      REAL      WORK13(65,64), WORK31(65,64)
+      KV = KU + KL
+      DO J = 1, M
+         JB = MIN( 1, M-J+1 )
+         DO JJ = J, J + JB - 1
+            KM = MIN( KL, M-JJ )
+            JP = KM+1
+            CALL SSWAP( JB, AB( KV+1+JJ-J, J ), LDAB-1,
+     $           AB( KV+JP+JJ-J, J ), LDAB-1 )
+         END DO
+      END DO
+      RETURN
+      END