From 3d9df6b3a2eb8d0b4a6424025758204a923a77e6 Mon Sep 17 00:00:00 2001 From: No Author Date: Wed, 14 Aug 2002 09:01:32 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'gcc_3_2_release'. From-SVN: r56290 --- gcc/testsuite/gcc.c-torture/execute/20020805-1.c | 21 --------------------- gcc/testsuite/gcc.dg/cpp/vararg3.c | 17 ----------------- gcc/testsuite/gcc.dg/cpp/vararg4.c | 14 -------------- 3 files changed, 52 deletions(-) delete mode 100644 gcc/testsuite/gcc.c-torture/execute/20020805-1.c delete mode 100644 gcc/testsuite/gcc.dg/cpp/vararg3.c delete mode 100644 gcc/testsuite/gcc.dg/cpp/vararg4.c 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 -- cgit v1.2.3