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
72b9c7fb
Commit
72b9c7fb
authored
May 04, 2000
by
Bruce Korb
Committed by
Bruce Korb
May 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `extern double cabs' declarations from math.h
From-SVN: r33667
parent
c5acf51f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
1 deletions
+43
-1
gcc/ChangeLog
+7
-0
gcc/fixinc/fixincl.x
+0
-0
gcc/fixinc/inclhack.def
+13
-0
gcc/fixinc/inclhack.sh
+23
-1
No files found.
gcc/ChangeLog
View file @
72b9c7fb
2000
-
05
-
04
Bruce
Korb
<
bkorb
@gnu
.
org
>
*
fixincl
/
inclhack
.
def
:
added
broken_cabs
-
Remove
`
extern
double
cabs
'
declarations
from
math
.
h
*
fixincl
/
inclhack
.
sh
:
regen
*
fixincl
/
fixincl
.
x
:
regen
Thu
May
4
09
:
45
:
12
2000
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
rtl
.
h
(
MEM_COPY_ATTRIBUTES
)
:
Also
copy
RTX_UNCHANGING_P
and
...
...
gcc/fixinc/fixincl.x
View file @
72b9c7fb
This diff is collapsed.
Click to expand it.
gcc/fixinc/inclhack.def
View file @
72b9c7fb
...
...
@@ -750,6 +750,19 @@ fix = {
/*
* Remove `extern double cabs' declarations from math.h.
* This conflicts with C9x. Discovered on AIX.
*/
fix = {
hackname = broken_cabs;
files = "math.h";
select = '^extern double cabs';
sed = '/^extern double cabs();/d';
sed = '/^extern double cabs(struct dbl_hypot);/d';
};
/*
* Fix <c_asm.h> on Digital UNIX V4.0:
* It contains a prototype for a DEC C internal asm() function,
* clashing with gcc's asm keyword. So protect this with __DECC.
...
...
gcc/fixinc/inclhack.sh
View file @
72b9c7fb
...
...
@@ -6,7 +6,7 @@
# files which are fixed to work correctly with ANSI C and placed in a
# directory that GNU C will search.
#
# This script contains 11
7
fixup scripts.
# This script contains 11
8
fixup scripts.
#
# See README-fixinc for more information.
#
...
...
@@ -1241,6 +1241,28 @@ struct rusage;
#
# Fix Broken_Cabs
#
case
"
${
file
}
"
in
./math.h
)
if
(
test
-n
"
`
egrep
'^extern double cabs'
${
file
}
`
"
)
>
/dev/null 2>&1
;
then
fixlist
=
"
${
fixlist
}
broken_cabs"
if
[
!
-r
${
DESTFILE
}
]
then
infile
=
${
file
}
else
infile
=
${
DESTFILE
}
;
fi
sed
-e
'/^extern double cabs();/d'
\
-e
'/^extern double cabs(struct dbl_hypot);/d'
\
<
$infile
>
${
DESTDIR
}
/fixinc.tmp
rm
-f
${
DESTFILE
}
mv
-f
${
DESTDIR
}
/fixinc.tmp
${
DESTFILE
}
fi
# end of select 'if'
;;
# case end for file name test
esac
#
# Fix Dec_Intern_Asm
#
case
"
${
file
}
"
in
./c_asm.h
)
...
...
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