diff options
author | No Author <no-author@gcc.gnu.org> | 2002-08-14 09:01:32 +0000 |
---|---|---|
committer | No Author <no-author@gcc.gnu.org> | 2002-08-14 09:01:32 +0000 |
commit | 3d9df6b3a2eb8d0b4a6424025758204a923a77e6 (patch) | |
tree | db8e5e2ec19855010a1f2a43b51ef8a4df1a2ebd | |
parent | 41e017a85906680640e8af138a4db144cb3a091e (diff) |
This commit was manufactured by cvs2svn to create tagreleases/gcc-3.2.0
'gcc_3_2_release'.
From-SVN: r56290
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020805-1.c | 21 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/vararg3.c | 17 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/vararg4.c | 14 |
3 files changed, 0 insertions, 52 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20020805-1.c b/gcc/testsuite/gcc.c-torture/execute/20020805-1.c deleted file mode 100644 index e7d517996f5..00000000000 --- a/gcc/testsuite/gcc.c-torture/execute/20020805-1.c +++ /dev/null @@ -1,21 +0,0 @@ -/* This testcase was miscompiled on IA-32, because fold-const - assumed associate_trees is always done on PLUS_EXPR. */ - -extern void abort (void); -extern void exit (int); - -void check (unsigned int m) -{ - if (m != (unsigned int) -1) - abort (); -} - -unsigned int n = 1; - -int main (void) -{ - unsigned int m; - m = (1 | (2 - n)) | (-n); - check (m); - exit (0); -} diff --git a/gcc/testsuite/gcc.dg/cpp/vararg3.c b/gcc/testsuite/gcc.dg/cpp/vararg3.c deleted file mode 100644 index b17afd89ea7..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/vararg3.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options "-std=c99" } */ - -/* Source: Neil Booth, 6 Aug 2002. - - Tests that we DTRT with varargs commas for a single-parameter macro - when in standards-conforming mode. */ - -#define f(...) , ## __VA_ARGS__ - -/* The comma from f's expansion should be retained (standards - conforming mode only). Tests that it isn't in non-standards mode - include macro8.c and vararg1.c. */ -#if 2 f() 3 /* { dg-bogus "missing binary operator" } */ -#endif diff --git a/gcc/testsuite/gcc.dg/cpp/vararg4.c b/gcc/testsuite/gcc.dg/cpp/vararg4.c deleted file mode 100644 index 460cebf2833..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/vararg4.c +++ /dev/null @@ -1,14 +0,0 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options -std=gnu99 } */ - -/* Source: Neil Booth, 6 Aug 2002. - - Tests that we DTRT with varargs commas. */ - -#define g(a, ...) a , ## __VA_ARGS__ - -/* The comma from g's expansion should be retained. */ -#if g (2, ) 3 /* { dg-bogus "missing binary operator" } */ -#endif |