From d0efead7f33e3aea5e1db7ac6226fe12988692a0 Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Sat, 1 Mar 2003 20:29:32 +0000 Subject: [PATCH] alphabatize irix___restrict From-SVN: r63619 --- gcc/fixinc/inclhack.def | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 619f6965809a..23f4c263f139 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -1342,6 +1342,24 @@ fix = { }; +/* + * IRIX 6.5.1[89] 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 contains an asm comment with a contraction * that causes the assembly preprocessor to complain about an @@ -1372,24 +1390,6 @@ fix = { }; -/* - * IRIX 6.5.1[89] 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] has a broken definition of socklen_t. * Various socket function prototypes use different types instead, -- 2.47.2