* g77.f-torture/execute/6177.f: New test.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52147 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 001802f..93ef461 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