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
79a365a7
Commit
79a365a7
authored
Dec 30, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_reload_insns): Error instead of abort
if an asm has a VOIDmode output operand. From-SVN: r2990
parent
5488078f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
gcc/reload1.c
+10
-1
No files found.
gcc/reload1.c
View file @
79a365a7
...
...
@@ -5339,7 +5339,16 @@ emit_reload_insns (insn)
mode
=
GET_MODE
(
old
);
if
(
mode
==
VOIDmode
)
abort
();
/* Should never happen for an output. */
{
/* VOIDmode should never happen for an output. */
if
(
asm_noperands
(
PATTERN
(
insn
))
<
0
)
/* It's the compiler's fault. */
abort
();
error_for_asm
(
insn
,
"output operand is constant in `asm'"
);
/* Prevent crash--use something we know is valid. */
mode
=
word_mode
;
old
=
gen_rtx
(
REG
,
mode
,
REGNO
(
reloadreg
));
}
/* A strict-low-part output operand needs to be reloaded
in the mode of the entire value. */
...
...
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