diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-04 03:44:24 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-04 03:44:24 +0000 |
commit | e1a0c21252a7cbb7db83de7f6ed56871dbd09e85 (patch) | |
tree | 4a128e69117b5a32dca739d96076f748a37e0e79 /fixincludes/inclhack.def | |
parent | f24ec26f1cabb4f55cdb4370f35b67807df8fb7a (diff) | |
download | gcc-e1a0c21252a7cbb7db83de7f6ed56871dbd09e85.tar.gz |
* inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
Delete fixes.
* tests/base/iso/math_c99.h: Delete associated test baselines.
* fixincl.x: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127198 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index f7fbd8ce8aa..fde081652fe 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -3125,67 +3125,6 @@ fix = { }; fix = { - hackname = solaris_math_5; - select = '@\(#\)math_c99.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; - bypass = "__GNUC__"; - files = iso/math_c99.h; - c_fix = format; - c_fix_arg = "#define\tisfinite(x) \\\n" - " __extension__ ({ const __typeof (x) __x_f = (x); \\\n" - "\t\t __builtin_expect(sizeof(__x_f) == sizeof(float) \\\n" - "\t\t\t ? islessequal(__builtin_fabsf(__x_f),__FLT_MAX__) \\\n" - "\t\t\t : sizeof(__x_f) == sizeof(long double) \\\n" - "\t\t\t ? islessequal(__builtin_fabsl(__x_f),__LDBL_MAX__) \\\n" - "\t\t\t : islessequal(__builtin_fabs(__x_f),__DBL_MAX__), 1); })"; - c_fix_arg = "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)"; - test_text = - '#ident "@(#)math_c99.h 1.9 04/11/01 SMI"'"\n" - "#undef isfinite\n" - "#define isfinite(x) __builtin_isfinite(x)"; -}; - -fix = { - hackname = solaris_math_6; - select = '@\(#\)math_c99.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; - bypass = "__GNUC__"; - files = iso/math_c99.h; - c_fix = format; - c_fix_arg = "#define\tisinf(x) \\\n" - " __extension__ ({ const __typeof (x) __x_i = (x); \\\n" - "\t\t __builtin_expect(sizeof(__x_i) == sizeof(float) \\\n" - "\t\t\t ? isgreater(__builtin_fabsf(__x_i),__FLT_MAX__) \\\n" - "\t\t\t : sizeof(__x_i) == sizeof(long double) \\\n" - "\t\t\t ? isgreater(__builtin_fabsl(__x_i),__LDBL_MAX__) \\\n" - "\t\t\t : isgreater(__builtin_fabs(__x_i),__DBL_MAX__), 0); })"; - c_fix_arg = "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)"; - test_text = - '#ident "@(#)math_c99.h 1.9 04/11/01 SMI"'"\n" - "#undef isinf\n" - "#define isinf(x) __builtin_isinf(x)"; -}; - -fix = { - hackname = solaris_math_7; - select = '@\(#\)math_c99.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; - bypass = "__GNUC__"; - files = iso/math_c99.h; - c_fix = format; - c_fix_arg = "#define\tisnormal(x) \\\n" - " __extension__ ({ const __typeof(x) __x_n = (x); \\\n" - "\t\t __builtin_expect(isfinite(__x_n) \\\n" - "\t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n" - "\t\t\t\t\t ? isgreaterequal(__builtin_fabsf(__x_n),__FLT_MIN__) \\\n" - "\t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n" - "\t\t\t\t\t ? isgreaterequal(__builtin_fabsl(__x_n),__LDBL_MIN__) \\\n" - "\t\t\t\t\t : isgreaterequal(__builtin_fabs(__x_n),__DBL_MIN__)), 1); })"; - c_fix_arg = "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)"; - test_text = - '#ident "@(#)math_c99.h 1.9 04/11/01 SMI"'"\n" - "#undef isnormal\n" - "#define isnormal(x) __builtin_isnormal(x)"; -}; - -fix = { hackname = solaris_math_8; select = '@\(#\)math_c99.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; bypass = "__GNUC__"; |