diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-15 13:33:38 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-15 13:33:38 +0000 |
commit | f1632bd1742650bdc39213edaa2d67c50e59af67 (patch) | |
tree | d0908825ab3bee3583f5724c2c89b7d761c288e1 /gcc/testsuite/gcc.dg/20040910-1.c | |
parent | b2782241e51ce26d2b2287d184541c590d2678a2 (diff) | |
download | gcc-f1632bd1742650bdc39213edaa2d67c50e59af67.tar.gz |
g++.dg/opt/strength-reduce.C: Replace 0x7fffffff with __INT_MAX__ so that
the test can be compiled by toolchains targeted at 16-bit processors.
* gcc.dg/20040625-1.c: Use long constants rather than integers when
performing arithmetic that will overflow 16-bits.
* gcc.dg/i386-sse-8.c: Expect this test to fail for the xstormy16.
It does not support 128-bit vector operations.
* gcc.dg/ultrasp4.c: Replace all occurrences of the type 'long' with the
macro PTR_TYPE. Define this macro to an integer type suitable for
holding a pointer.
* gcc.dg/compat/struct-align-1_x.c: Use shorter integers if the target
is a 16-bit processor.
* gcc.dg/cpp/if-2.c: Expect a different warning message from 16-bit
targets where the character constant will be too long.
* g++.dg/opt/asm1.C: Expect this test to fail on the xstormy16 where
the double will not be directly addressable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20040910-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20040910-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/20040910-1.c b/gcc/testsuite/gcc.dg/20040910-1.c index ff772ab57b4..b89c95351b6 100644 --- a/gcc/testsuite/gcc.dg/20040910-1.c +++ b/gcc/testsuite/gcc.dg/20040910-1.c @@ -1,2 +1,2 @@ /* Tests error recovery for invalid code. */ -__attribute__((foo) int f (){} /* { dg-error "(parse error|syntax error|expected '\\)') before 'int'" } */ +__attribute__((foo) int f (){} /* { dg-error "(parse error|syntax error|expected '\\)') before `int'" } */ |