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
a47a0ed5
Commit
a47a0ed5
authored
Apr 18, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(yylex): If FP value is NaN, use value of zero.
From-SVN: r7071
parent
28612f9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/c-lex.c
+6
-0
No files found.
gcc/c-lex.c
View file @
a47a0ed5
...
...
@@ -1407,6 +1407,12 @@ yylex ()
if
(
garbage_chars
>
0
)
error
(
"garbage at end of number"
);
/* If the result is not a number, assume it must have been
due to some error message above, so silently convert
it to a zero. */
if
(
REAL_VALUE_ISNAN
(
value
))
value
=
dconst0
;
/* Create a node with determined type and value. */
if
(
imag
)
yylval
.
ttype
=
build_complex
(
convert
(
type
,
integer_zero_node
),
...
...
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