GCC with patches for OS216
Revision | 3d9df6b3a2eb8d0b4a6424025758204a923a77e6 (tree) |
---|---|
Time | 2002-08-14 18:01:32 |
Author | No Author <no-author@gcc....> |
Commiter | No Author |
This commit was manufactured by cvs2svn to create tag
'gcc_3_2_release'.
From-SVN: r56290
@@ -1,21 +0,0 @@ | ||
1 | -/* This testcase was miscompiled on IA-32, because fold-const | |
2 | - assumed associate_trees is always done on PLUS_EXPR. */ | |
3 | - | |
4 | -extern void abort (void); | |
5 | -extern void exit (int); | |
6 | - | |
7 | -void check (unsigned int m) | |
8 | -{ | |
9 | - if (m != (unsigned int) -1) | |
10 | - abort (); | |
11 | -} | |
12 | - | |
13 | -unsigned int n = 1; | |
14 | - | |
15 | -int main (void) | |
16 | -{ | |
17 | - unsigned int m; | |
18 | - m = (1 | (2 - n)) | (-n); | |
19 | - check (m); | |
20 | - exit (0); | |
21 | -} |
@@ -1,17 +0,0 @@ | ||
1 | -/* Copyright (C) 2002 Free Software Foundation, Inc. */ | |
2 | - | |
3 | -/* { dg-do preprocess } */ | |
4 | -/* { dg-options "-std=c99" } */ | |
5 | - | |
6 | -/* Source: Neil Booth, 6 Aug 2002. | |
7 | - | |
8 | - Tests that we DTRT with varargs commas for a single-parameter macro | |
9 | - when in standards-conforming mode. */ | |
10 | - | |
11 | -#define f(...) , ## __VA_ARGS__ | |
12 | - | |
13 | -/* The comma from f's expansion should be retained (standards | |
14 | - conforming mode only). Tests that it isn't in non-standards mode | |
15 | - include macro8.c and vararg1.c. */ | |
16 | -#if 2 f() 3 /* { dg-bogus "missing binary operator" } */ | |
17 | -#endif |
@@ -1,14 +0,0 @@ | ||
1 | -/* Copyright (C) 2002 Free Software Foundation, Inc. */ | |
2 | - | |
3 | -/* { dg-do preprocess } */ | |
4 | -/* { dg-options -std=gnu99 } */ | |
5 | - | |
6 | -/* Source: Neil Booth, 6 Aug 2002. | |
7 | - | |
8 | - Tests that we DTRT with varargs commas. */ | |
9 | - | |
10 | -#define g(a, ...) a , ## __VA_ARGS__ | |
11 | - | |
12 | -/* The comma from g's expansion should be retained. */ | |
13 | -#if g (2, ) 3 /* { dg-bogus "missing binary operator" } */ | |
14 | -#endif |