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
71bde1f3
Commit
71bde1f3
authored
Oct 20, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(write_tree): For type SPLIT, check subroutine return
values for non-zero value not positive value. From-SVN: r2523
parent
d3c738e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/genrecog.c
+4
-1
No files found.
gcc/genrecog.c
View file @
71bde1f3
...
...
@@ -1521,7 +1521,10 @@ write_tree (tree, prevpos, afterward, initial, type)
{
printf
(
" tem = %s_%d (x0, insn%s);
\n
"
,
name_prefix
,
tree
->
subroutine_number
,
call_suffix
);
printf
(
" if (tem >= 0) return tem;
\n
"
);
if
(
type
==
SPLIT
)
printf
(
" if (tem != 0) return tem;
\n
"
);
else
printf
(
" if (tem >= 0) return tem;
\n
"
);
change_state
(
tree
->
position
,
afterward
->
position
,
2
);
printf
(
" goto L%d;
\n
"
,
afterward
->
number
);
}
...
...
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