* g77.f-torture/execute/6177.f: New test.
authorJanis Johnson <janis187@us.ibm.com>
Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)
From-SVN: r52147

gcc/testsuite/ChangeLog
gcc/testsuite/g77.f-torture/execute/6177.f [new file with mode: 0644]

index 001802fc8c2da075b0cac04769b8933c3b218dd6..93ef461fc1bf5f762a913b0d2aa4a8d6c9229912 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-10  Janis Johnson  <janis187@us.ibm.com>
+
+       * g77.f-torture/execute/6177.f: New test.
+
 2002-04-10  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/6247
diff --git a/gcc/testsuite/g77.f-torture/execute/6177.f b/gcc/testsuite/g77.f-torture/execute/6177.f
new file mode 100644 (file)
index 0000000..f40029c
--- /dev/null
@@ -0,0 +1,14 @@
+      program pr6177
+C
+C Test case for PR optimization/6177.
+C This bug (an ICE) originally showed up in file cblat2.f from LAPACK.
+C
+      complex x
+      complex w(1)
+      intrinsic conjg
+      x = (2.0d0, 1.0d0)
+      w(1) = x
+      x = conjg(x)
+      w(1) = conjg(w(1))
+      if (abs(x-w(1)) .gt. 1.0e-5) call abort
+      end