summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/pr32912-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr32912-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr32912-3.c2
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 63ba2f2cd64..fb5aa87b062 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/32912
+ * gcc.dg/pr32912-1.c: Add -w to options.
+ * gcc.dg/pr32912-2.c: Likewise.
+ * gcc.dg/pr32912-3.c: Scan for ~{ rather than just ~.
+
2007-08-21 Ian Lance Taylor <iant@google.com>
* g++.dg/torture/pr33134.C: Moved from g++.dg/tree-ssa.
diff --git a/gcc/testsuite/gcc.dg/pr32912-1.c b/gcc/testsuite/gcc.dg/pr32912-1.c
index 7526ee145aa..2f9e8593e29 100644
--- a/gcc/testsuite/gcc.dg/pr32912-1.c
+++ b/gcc/testsuite/gcc.dg/pr32912-1.c
@@ -1,6 +1,6 @@
/* PR middle-end/32912 */
/* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -w" } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.dg/pr32912-2.c b/gcc/testsuite/gcc.dg/pr32912-2.c
index 4254086b05d..3ea81da789c 100644
--- a/gcc/testsuite/gcc.dg/pr32912-2.c
+++ b/gcc/testsuite/gcc.dg/pr32912-2.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -w" } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.dg/pr32912-3.c b/gcc/testsuite/gcc.dg/pr32912-3.c
index e87a32f6c91..674675a6224 100644
--- a/gcc/testsuite/gcc.dg/pr32912-3.c
+++ b/gcc/testsuite/gcc.dg/pr32912-3.c
@@ -10,5 +10,5 @@ bar (void)
return ~x;
}
-/* { dg-final { scan-tree-dump-not "~" "optimized" } } */
+/* { dg-final { scan-tree-dump-not "~\{" "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */