diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-01-09 01:11:02 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-01-09 01:11:02 +0100 |
commit | 98b8bdbc074276e3cf6ba918e9cbca965fbc6aa3 (patch) | |
tree | b12c2102af7195855a227808876344bdc8569d6d /tests/t-constants.c | |
parent | 005575f746c7f1787d10e27eafbc1dd13401e542 (diff) | |
download | gmp-98b8bdbc074276e3cf6ba918e9cbca965fbc6aa3.tar.gz |
Correction to:
(CHECK_MAX_S): Fix for gcc 2.95.2 -mpowerpc64 -maix64.
Diffstat (limited to 'tests/t-constants.c')
-rw-r--r-- | tests/t-constants.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t-constants.c b/tests/t-constants.c index f495203e5..13a0796ee 100644 --- a/tests/t-constants.c +++ b/tests/t-constants.c @@ -128,10 +128,10 @@ char *long_max_def = "not defined"; } while (0) -/* gcc 2.95.2 -mpowerpc64 -maix64 needs "static" on maxval and minval or it - thinks LONG_MAX<=LONG_MIN (when those values are decimal constants - provided by the AIX 4.3 headers at least). Presumably some gremlin in - the constant folding. */ +/* On AIX 4.3 <stdio.h> drags in some definitions of LONG_MAX etc which are + decimal constants without "L" suffixes. gcc 2.95.2 -mpowerpc64 -maix64 + needs "static" on maxval and minval or else it seems to truncate them to + plain "unsigned" thereby making maxval<=minval. */ #define CHECK_MAX_S(max_val, max_name, min_val, min_name, type, format) \ do { \ |