OSDN Git Service

2006-02-20 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Feb 2006 18:01:59 +0000 (18:01 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Feb 2006 18:01:59 +0000 (18:01 +0000)
        * gcc.dg/tree-ssa/complex-3.c: Split out first part into ...
        * gcc.dg/tree-ssa/complex-4.c: Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111309 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/complex-3.c
gcc/testsuite/gcc.dg/tree-ssa/complex-4.c [new file with mode: 0644]

index 1c53f17..77626cb 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-20  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * gcc.dg/tree-ssa/complex-3.c: Split out first part into ...
+       * gcc.dg/tree-ssa/complex-4.c: Here.
+
 2006-02-19  Roger Sayle  <roger@eyesopen.com>
 
        PR middle-end/19543
index a354495..5f4b110 100644 (file)
@@ -1,19 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
-int g(_Complex int*);
-int f(void)
-{
-  _Complex int t = 0;
-  int i, j;
- __real__ t += 2;
- __imag__ t += 2;
-  return g(&t);
-}
-
-/* { dg-final { scan-tree-dump-times "__complex__" 0 "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
-
-/* { dg-do compile } */
 /* { dg-options "-O -fdump-tree-optimized" } */
 
 typedef _Complex float COMPLEX_FLOAT;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/complex-4.c b/gcc/testsuite/gcc.dg/tree-ssa/complex-4.c
new file mode 100644 (file)
index 0000000..02eb0ae
--- /dev/null
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-optimized" } */
+int g(_Complex int*);
+int f(void)
+{
+  _Complex int t = 0;
+  int i, j;
+ __real__ t += 2;
+ __imag__ t += 2;
+  return g(&t);
+}
+
+/* { dg-final { scan-tree-dump-times "__complex__" 0 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */