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
4f923eb8
Commit
4f923eb8
authored
Jul 11, 2000
by
Bruce Korb
Committed by
Bruce Korb
Jul 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixinc/inclhack.def(libc1_ifdefd_memx) omit #if/#endif pair
From-SVN: r34969
parent
ee138cf8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
+20
-13
gcc/ChangeLog
+2
-0
gcc/fixinc/fixincl.x
+5
-4
gcc/fixinc/inclhack.def
+13
-9
No files found.
gcc/ChangeLog
View file @
4f923eb8
...
...
@@ -14,6 +14,8 @@ Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
* fixinc/fixtests.c(double_slash): obsolete
(else_endif_label): likewise
* fixinc/inclhack.def(irix_multiline_cmnt): obsolete
(libc1_ifdefd_memx): correct initial comment
and omit the #if/#endif pair from the memxxx declarations
* fixinc/fixincl.x: regen
2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
...
...
gcc/fixinc/fixincl.x
View file @
4f923eb8
...
...
@@ -2267,12 +2267,13 @@ tTestDesc aLibc1_Ifdefd_MemxTests[] = {
*/
const char* apzLibc1_Ifdefd_MemxPatch[] = {
"format",
"%1 || defined(__cplusplus)\n\
%2",
"%1",
"/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
(#if defined\\(__STDC__\\) && __GNUC__ < 2)
\n\
#if defined\\(__STDC__\\) && __GNUC__ < 2
\n\
(/\\* .* \\*/\n\
extern [a-z_]+ mem)",
extern [a-z_]+ mem.*(\n\
[^#].*)*;)\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
...
gcc/fixinc/inclhack.def
View file @
4f923eb8
...
...
@@ -622,7 +622,7 @@ fix = {
};
/*
/*
* Remove erroneous parentheses in sym.h on Alpha OSF/1.
*/
fix = {
...
...
@@ -1279,9 +1279,11 @@ fix = {
};
/* GNU libc1 string.h does not prototype memcpy and memcmp for gcc
versions > 1. That's a problem. This fix will expose the prototype
for C++. */
/*
* GNU libc1 string.h does not prototype memcpy and memcmp for gcc
* versions > 1. That's a problem. This fix will expose the prototype
* for C++.
*/
fix = {
hackname = libc1_ifdefd_memx;
...
...
@@ -1294,11 +1296,13 @@ fix = {
c_fix = format;
select = "' is a built-in function for gcc 2\\.x\\. \\*/";
bypass = __cplusplus;
c_fix_arg = "%1 || defined(__cplusplus)\n%2";
c_fix_arg = "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n"
"(#if defined\\(__STDC__\\) && __GNUC__ < 2)\n"
"(/\\* .* \\*/\n"
"extern [a-z_]+ mem)";
c_fix_arg = "%1";
c_fix_arg =
'/\* `mem...\' is a built-in function for gcc 2\.x\. \*/' "\n"
'#if defined\(__STDC__\) && __GNUC__ < 2' "\n"
"(/\\* .* \\*/\n"
"extern [a-z_]+ mem.*(\n[^#].*)*;)\n"
"#endif";
test_text =
"/* \\`memcpy' is a built-in function for gcc 2.x. */\n"
...
...
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