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
41af162c
Commit
41af162c
authored
25 years ago
by
Craig Burley
Committed by
Craig Burley
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable maintenance of errno
From-SVN: r26897
parent
7d9a55eb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
2 deletions
+32
-2
gcc/ChangeLog
+8
-0
gcc/expr.c
+1
-1
gcc/f/ChangeLog
+6
-0
gcc/f/com.c
+1
-0
gcc/f/news.texi
+6
-1
gcc/flags.h
+5
-0
gcc/toplev.c
+5
-0
No files found.
gcc/ChangeLog
View file @
41af162c
Wed
May
12
07
:
27
:
31
1999
Craig
Burley
<
craig
@jcb
-
sc
.
com
>
Allow
front
end
(
like
g77
'
s
)
to
override
maintenance
of
errno
:
*
expr
.
c
(
expand_builtin
)
:
Bother
with
errno
only
if
flag_errno_math
.
*
flags
.
h
:
Declare
flag_errno_math
.
*
toplev
.
c
:
Define
flag_errno_math
.
Tue
May
11
23
:
55
:
49
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
Tue
May
11
23
:
55
:
49
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
fixproto
:
Change
"mkdir"
calls
to
"mkdir -p"
*
fixproto
:
Change
"mkdir"
calls
to
"mkdir -p"
...
...
This diff is collapsed.
Click to expand it.
gcc/expr.c
View file @
41af162c
...
@@ -8757,7 +8757,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
...
@@ -8757,7 +8757,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
/* Check the results by default. But if flag_fast_math is turned on,
/* Check the results by default. But if flag_fast_math is turned on,
then assume sqrt will always be called with valid arguments. */
then assume sqrt will always be called with valid arguments. */
if
(
!
flag_fast_math
)
if
(
flag_errno_math
&&
!
flag_fast_math
)
{
{
/* Don't define the builtin FP instructions
/* Don't define the builtin FP instructions
if your machine is not IEEE. */
if your machine is not IEEE. */
...
...
This diff is collapsed.
Click to expand it.
gcc/f/ChangeLog
View file @
41af162c
Wed May 12 07:30:05 1999 Craig Burley <craig@jcb-sc.com>
* com.c (lang_init_options): Disable back end's maintenance
of errno.
* news.texi: Document dropping of errno.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* lang-specs.h: Pass -$ to the preprocessor.
* lang-specs.h: Pass -$ to the preprocessor.
...
...
This diff is collapsed.
Click to expand it.
gcc/f/com.c
View file @
41af162c
...
@@ -14958,6 +14958,7 @@ lang_init_options ()
...
@@ -14958,6 +14958,7 @@ lang_init_options ()
flag_move_all_movables
=
1
;
flag_move_all_movables
=
1
;
flag_reduce_all_givs
=
1
;
flag_reduce_all_givs
=
1
;
flag_argument_noalias
=
2
;
flag_argument_noalias
=
2
;
flag_errno_math
=
0
;
}
}
void
void
...
...
This diff is collapsed.
Click to expand it.
gcc/f/news.texi
View file @
41af162c
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
@c
in
the
standalone
derivations
of
this
file
(
e
.
g
.
NEWS
).
@c
in
the
standalone
derivations
of
this
file
(
e
.
g
.
NEWS
).
@set
copyrights
-
news
1995
-
1999
@set
copyrights
-
news
1995
-
1999
@set
last
-
update
-
news
1999
-
05
-
1
0
@set
last
-
update
-
news
1999
-
05
-
1
2
@include
root
.
texi
@include
root
.
texi
...
@@ -273,6 +273,11 @@ that are not in @code{EQUIVALENCE} areas
...
@@ -273,6 +273,11 @@ that are not in @code{EQUIVALENCE} areas
and
not
@code
{
SAVE
}
'
d
.
and
not
@code
{
SAVE
}
'
d
.
@end
ifclear
@end
ifclear
@item
@code
{
g77
}
no
longer
generates
code
to
maintain
@code
{
errno
},
a
C
-
language
concept
,
when
performing
operations
such
as
the
@code
{
SqRt
}
intrinsic
.
@ifclear
USERVISONLY
@ifclear
USERVISONLY
@item
@item
A
substantial
portion
of
the
@code
{
g77
}
front
end
'
s
code
-
generation
component
A
substantial
portion
of
the
@code
{
g77
}
front
end
'
s
code
-
generation
component
...
...
This diff is collapsed.
Click to expand it.
gcc/flags.h
View file @
41af162c
...
@@ -291,6 +291,11 @@ extern int flag_volatile_static;
...
@@ -291,6 +291,11 @@ extern int flag_volatile_static;
extern
int
flag_fast_math
;
extern
int
flag_fast_math
;
/* Nonzero means the front end generally wants `errno' maintained by math
operations, like built-in SQRT, unless overridden by flag_fast_math. */
extern
int
flag_errno_math
;
/* Nonzero means to run loop optimizations twice. */
/* Nonzero means to run loop optimizations twice. */
extern
int
flag_rerun_loop_opt
;
extern
int
flag_rerun_loop_opt
;
...
...
This diff is collapsed.
Click to expand it.
gcc/toplev.c
View file @
41af162c
...
@@ -558,6 +558,11 @@ int flag_no_peephole = 0;
...
@@ -558,6 +558,11 @@ int flag_no_peephole = 0;
int
flag_fast_math
=
0
;
int
flag_fast_math
=
0
;
/* Nonzero means the front end generally wants `errno' maintained by math
operations, like built-in SQRT, unless overridden by flag_fast_math. */
int
flag_errno_math
=
1
;
/* Nonzero means all references through pointers are volatile. */
/* Nonzero means all references through pointers are volatile. */
int
flag_volatile
;
int
flag_volatile
;
...
...
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