summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compare2.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-05 00:46:17 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-05 00:46:17 +0000
commite2d12d23bf953d70191d519daf38b658c39e7674 (patch)
tree7fb2f0719dcc7471ba42244cc76f838c6603691d /gcc/testsuite/gcc.dg/compare2.c
parente2f8974778ea1d5247c8cc74648b829314c229a0 (diff)
downloadgcc-e2d12d23bf953d70191d519daf38b658c39e7674.tar.gz
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
and torture_without_loops as is done by c-torture.exp. (search_for): Copy from c-torture.exp. (gcc-dg-runtest): New function, drives a directory of tests iterating over the TORTURE_OPTIONS. (scan-assembler, scan-assembler-not): Move here from individual directory drivers. * gcc.dg/dg.exp: scan-assembler, scan-assembler-not now defined by lib/gcc-dg.exp. * gcc.dg/cpp/cpp.exp: Likewise. * gcc.dg/noncompile/noncompile.exp: Likewise. Use gcc-dg-runtest, so we cycle over optimization options. * gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9. * gcc.dg/compare2.c: No longer expected to fail. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35500 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compare2.c')
-rw-r--r--gcc/testsuite/gcc.dg/compare2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/compare2.c b/gcc/testsuite/gcc.dg/compare2.c
index a33e4aa2955..34f58524990 100644
--- a/gcc/testsuite/gcc.dg/compare2.c
+++ b/gcc/testsuite/gcc.dg/compare2.c
@@ -26,7 +26,7 @@ void f(int x, unsigned int y)
/* Statement expression. */
x > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 9" } */
- y > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 10" { xfail *-*-* } } */
+ y > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 10" } */
/* Statement expression with recursive ?: . */
x > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 11" } */