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
e95f0195
Commit
e95f0195
authored
Jan 27, 1998
by
Todd Vierling
Committed by
Jeff Law
Jan 27, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixincludes: Tweak fix for struct exception in math.h
From-SVN: r17513
parent
e1467ff2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
gcc/ChangeLog
+4
-0
gcc/fixincludes
+8
-4
No files found.
gcc/ChangeLog
View file @
e95f0195
Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
* fixincludes: Tweak fix for struct exception in math.h
Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
* mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
...
...
gcc/fixincludes
View file @
e95f0195
...
...
@@ -2822,21 +2822,25 @@ if [ -r ${LIB}/$file ]; then
sed
-e
'/struct exception/i\
#ifdef __cplusplus\
#define exception __math_exception\
#endif'
\
#endif
'
\
-e
'/struct exception/a\
#ifdef __cplusplus\
#undef exception\
#endif'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
#endif
'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
rm
-f
${
LIB
}
/
$file
;
mv
${
LIB
}
/
${
file
}
.sed
${
LIB
}
/
$file
if
egrep
'matherr()'
${
LIB
}
/
$file
>
/dev/null 2>&1
;
then
sed
-e
'/matherr/i\
#ifdef __cplusplus\
#define exception __math_exception\
#endif'
\
#endif
'
\
-e
'/matherr/a\
#ifdef __cplusplus\
#undef exception\
#endif'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
#endif
'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
rm
-f
${
LIB
}
/
$file
;
mv
${
LIB
}
/
${
file
}
.sed
${
LIB
}
/
$file
fi
if
cmp
$file
${
LIB
}
/
$file
>
/dev/null 2>&1
;
then
...
...
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