summaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-06 20:54:14 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-06 20:54:14 +0000
commitb47b1d39e8f49cae0bb95024d6412533cdcb2694 (patch)
treed948d4d60a95378f061cf1ff3a21618c0d70ac51 /fixincludes/inclhack.def
parent1ff3e7dbfd97503f11cd2c44d14bdd454ca017b0 (diff)
downloadgcc-b47b1d39e8f49cae0bb95024d6412533cdcb2694.tar.gz
Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def33
1 files changed, 0 insertions, 33 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 859042a8da2..75f83478f21 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -1348,24 +1348,6 @@ EOT;
/*
- * Similar, but a version that didn't have __NO_INLINE__
- */
-fix = {
- hackname = glibc_c99_inline_1a;
- files = features.h, '*/features.h';
- select = "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n"
- "(#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
- c_fix = format;
- c_fix_arg = "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n%2";
- test_text = <<-EOT
-#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__
-# define __USE_EXTERN_INLINES 1
-#endif
-EOT;
-};
-
-
-/*
* The glibc_c99_inline_1 fix should have fixed everything. Unfortunately
* there are many glibc headers which do not respect __USE_EXTERN_INLINES.
* The remaining glibc_c99_inline_* fixes deal with some of those headers.
@@ -1426,21 +1408,6 @@ fix = {
};
-fix = {
- hackname = glibc_c99_inline_5;
- files = wchar.h, '*/wchar.h';
- bypass = "__STDC_VERSION__";
- select = "(^| )extern __inline";
- c_fix = format;
- c_fix_arg = "\n#ifdef __GNUC_GNU_INLINE__\nextern\n#endif\n__inline";
- test_text = <<-EOT
- __extension__ extern __inline double
- __extension__ __extern_inline long
- extern __inline unsigned int
- EOT;
-};
-
-
/* glibc-2.3.5 defines pthread mutex initializers incorrectly,
* so we replace them with versions that correspond to the
* definition.