summaryrefslogtreecommitdiff
path: root/libffi/testsuite/libffi.call
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/testsuite/libffi.call')
-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++;