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
79cbc1f7
Commit
79cbc1f7
authored
Jul 30, 2002
by
Bernd Schmidt
Committed by
Bernd Schmidt
Jul 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recognize return insns even if the return appears in a parallel.
From-SVN: r55885
parent
26e20555
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+2
-0
gcc/genemit.c
+3
-2
No files found.
gcc/ChangeLog
View file @
79cbc1f7
...
...
@@ -2,6 +2,8 @@
* ifcvt.c (cond_exec_process_if_block): Fix a merging error.
Bail out early if false_expr is NULL and we'd crash due to this.
* genemit.c (gen_expand): Recognize return insns even if the return
appears in a parallel.
2002-07-30 David Edelsohn <edelsohn@gnu.org>
Zack Weinberg <zack@codesourcery.com>
...
...
gcc/genemit.c
View file @
79cbc1f7
...
...
@@ -524,8 +524,9 @@ gen_expand (expand)
rtx
next
=
XVECEXP
(
expand
,
1
,
i
);
if
((
GET_CODE
(
next
)
==
SET
&&
GET_CODE
(
SET_DEST
(
next
))
==
PC
)
||
(
GET_CODE
(
next
)
==
PARALLEL
&&
GET_CODE
(
XVECEXP
(
next
,
0
,
0
))
==
SET
&&
GET_CODE
(
SET_DEST
(
XVECEXP
(
next
,
0
,
0
)))
==
PC
)
&&
((
GET_CODE
(
XVECEXP
(
next
,
0
,
0
))
==
SET
&&
GET_CODE
(
SET_DEST
(
XVECEXP
(
next
,
0
,
0
)))
==
PC
)
||
GET_CODE
(
XVECEXP
(
next
,
0
,
0
))
==
RETURN
))
||
GET_CODE
(
next
)
==
RETURN
)
printf
(
" emit_jump_insn ("
);
else
if
((
GET_CODE
(
next
)
==
SET
&&
GET_CODE
(
SET_SRC
(
next
))
==
CALL
)
...
...
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