aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2003-03-01 20:29:32 +0000
committerBruce Korb <korbb@gcc.gnu.org>2003-03-01 20:29:32 +0000
commitd0efead7f33e3aea5e1db7ac6226fe12988692a0 (patch)
treeeb02b1c28ff4cdd0b24aa2d541dc6dc53135b1c5
parent45fc3de25e05b1249a539b563e98428eed53dcb2 (diff)
downloadgcc-d0efead7f33e3aea5e1db7ac6226fe12988692a0.zip
gcc-d0efead7f33e3aea5e1db7ac6226fe12988692a0.tar.gz
gcc-d0efead7f33e3aea5e1db7ac6226fe12988692a0.tar.bz2
alphabatize irix___restrict
From-SVN: r63619
-rw-r--r--gcc/fixinc/inclhack.def36
1 files changed, 18 insertions, 18 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 619f696..23f4c26 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1343,6 +1343,24 @@ fix = {
/*
+ * IRIX 6.5.1[89] <internal/sgimacros.h> unconditionally defines
+ * __restrict as restrict iff __c99. This is wrong for C++, which
+ * needs many C99 features, but only supports __restrict.
+ */
+fix = {
+ hackname = irix___restrict;
+ files = internal/sgimacros.h;
+ select = "(#ifdef __c99\n)(#[ \t]*define __restrict restrict)";
+
+ mach = "mips-sgi-irix6.5";
+ c_fix = format;
+ c_fix_arg = "%1"
+ "# ifndef __cplusplus\n%2\n# endif";
+
+ test_text = "#ifdef __c99\n# define __restrict restrict";
+};
+
+/*
* IRIX 5.2's <sys/asm.h> contains an asm comment with a contraction
* that causes the assembly preprocessor to complain about an
* unterminated character constant.
@@ -1373,24 +1391,6 @@ fix = {
/*
- * IRIX 6.5.1[89] <internal/sgimacros.h> unconditionally defines
- * __restrict as restrict iff __c99. This is wrong for C++, which
- * needs many C99 features, but only supports __restrict.
- */
-fix = {
- hackname = irix___restrict;
- files = internal/sgimacros.h;
- select = "(#ifdef __c99\n)(#[ \t]*define __restrict restrict)";
-
- mach = "mips-sgi-irix6.5";
- c_fix = format;
- c_fix_arg = "%1"
- "# ifndef __cplusplus\n%2\n# endif";
-
- test_text = "#ifdef __c99\n# define __restrict restrict";
-};
-
-/*
* IRIX 6.5.1[78] <sys/socket.h> has a broken definition of socklen_t.
* Various socket function prototypes use different types instead,
* depending on the API in use (BSD, XPG4/5), but the socklen_t