summaryrefslogtreecommitdiff
path: root/libffi/testsuite
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-22 21:17:35 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-22 21:17:35 +0000
commit9a333c86fd37ca9cf564645ef0a97c8e2c9ba9ee (patch)
treee5d1292ca0d5f15af38f6aa116392b799fd3e3a4 /libffi/testsuite
parent07499df022fc60eef597a1cc566dea1710e17020 (diff)
downloadgcc-9a333c86fd37ca9cf564645ef0a97c8e2c9ba9ee.tar.gz
2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
* README: Remove notice about 'Crazy Comments'. * src/debug.c: Remove lint directives. Cleanup white spaces. * src/java_raw_api.c: Likewise. * src/prep_cif.c: Likewise. * src/raw_api.c: Likewise. * src/ffitest.c: Delete. No longer needed, all test cases migrated to the testsuite. * src/arm/ffi.c: Remove lint directives. * src/m32r/ffi.c: Likewise. * src/pa/ffi.c: Likewise. * src/powerpc/ffi.c: Likewise. * src/powerpc/ffi_darwin.c: Likewise. * src/sh/ffi.c: Likewise. * src/sh64/ffi.c: Likewise. * src/x86/ffi.c: Likewise. * testsuite/libffi.call/float2.c: Likewise. * testsuite/libffi.call/promotion.c: Likewise. * testsuite/libffi.call/struct1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/testsuite')
-rw-r--r--libffi/testsuite/libffi.call/float2.c2
-rw-r--r--libffi/testsuite/libffi.call/promotion.c4
-rw-r--r--libffi/testsuite/libffi.call/struct1.c2
3 files changed, 2 insertions, 6 deletions
diff --git a/libffi/testsuite/libffi.call/float2.c b/libffi/testsuite/libffi.call/float2.c
index 2039724fdc2..fa9dd311d69 100644
--- a/libffi/testsuite/libffi.call/float2.c
+++ b/libffi/testsuite/libffi.call/float2.c
@@ -48,9 +48,7 @@ int main (void)
#endif
/* These are not always the same!! Check for a reasonable delta */
- /*@-realcompare@*/
if (ld - ldblit(f) < LDBL_EPSILON)
- /*@=realcompare@*/
puts("long double return value tests ok!");
else
CHECK(0);
diff --git a/libffi/testsuite/libffi.call/promotion.c b/libffi/testsuite/libffi.call/promotion.c
index 3fb0fe21036..44561615dd4 100644
--- a/libffi/testsuite/libffi.call/promotion.c
+++ b/libffi/testsuite/libffi.call/promotion.c
@@ -43,10 +43,10 @@ int main (void)
ul = 0;
for (sc = (signed char) -127;
- sc <= (signed char) 120; /*@-type@*/ sc += 1 /*@=type@*/)
+ sc <= (signed char) 120; sc += 1)
for (ss = -30000; ss <= 30000; ss += 10000)
for (uc = (unsigned char) 0;
- uc <= (unsigned char) 200; /*@-type@*/ uc += 20 /*@=type@*/)
+ uc <= (unsigned char) 200; uc += 20)
for (us = 0; us <= 60000; us += 10000)
{
ul++;
diff --git a/libffi/testsuite/libffi.call/struct1.c b/libffi/testsuite/libffi.call/struct1.c
index 99c5d3b91ac..ea76c854490 100644
--- a/libffi/testsuite/libffi.call/struct1.c
+++ b/libffi/testsuite/libffi.call/struct1.c
@@ -16,9 +16,7 @@ typedef struct
static test_structure_1 struct1(test_structure_1 ts)
{
- /*@-type@*/
ts.uc++;
- /*@=type@*/
ts.d--;
ts.ui++;