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
e0350319
Commit
e0350319
authored
Mar 06, 1997
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not emit USE on a LABEL_REF
From-SVN: r13695
parent
dfcf9891
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/config/rs6000/rs6000.md
+6
-2
No files found.
gcc/config/rs6000/rs6000.md
View file @
e0350319
...
@@ -5164,8 +5164,12 @@
...
@@ -5164,8 +5164,12 @@
{
{
/
*
Emit a USE operation so that the constant isn't deleted if
/
*
Emit a USE operation so that the constant isn't deleted if
expensive optimizations are turned on because nobody
expensive optimizations are turned on because nobody
references it
*
/
references it. This should only be done for operands that
emit_insn (gen_rtx (USE, VOIDmode, operands
[
1
]
));
contain SYMBOL_REFs with CONSTANT_POOL_ADDRESS_P set.
This should not be done for operands that contain LABEL_REFs.
For now, we just handle the obvious case.
*
/
if (GET_CODE (operands
[
1
]
) != LABEL_REF)
emit_insn (gen_rtx (USE, VOIDmode, operands
[
1
]
));
/* If we are to limit the number of things we put in the TOC and
/* If we are to limit the number of things we put in the TOC and
this is a symbol plus a constant we can add in one insn,
this is a symbol plus a constant we can add in one insn,
...
...
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