Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d0efead7
Commit
d0efead7
authored
22 years ago
by
Bruce Korb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alphabatize irix___restrict
From-SVN: r63619
parent
45fc3de2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
gcc/fixinc/inclhack.def
+18
-18
No files found.
gcc/fixinc/inclhack.def
View file @
d0efead7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment