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
b2a7fa89
Commit
b2a7fa89
authored
Apr 30, 2003
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Apr 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (purge_addressof_1): Postpone insn in fewer cases.
From-SVN: r66286
parent
ad03daf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
gcc/ChangeLog
+4
-0
gcc/function.c
+9
-7
No files found.
gcc/ChangeLog
View file @
b2a7fa89
2003-04-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* function.c (purge_addressof_1): Postpone insn in fewer cases.
2003-04-29 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
...
...
gcc/function.c
View file @
b2a7fa89
...
...
@@ -3075,13 +3075,6 @@ purge_addressof_1 (loc, insn, force, store, may_postpone, ht)
{
rtx
sub
=
XEXP
(
XEXP
(
x
,
0
),
0
);
if
(
may_postpone
)
{
if
(
!
postponed_insns
||
XEXP
(
postponed_insns
,
0
)
!=
insn
)
postponed_insns
=
alloc_INSN_LIST
(
insn
,
postponed_insns
);
return
true
;
}
if
(
GET_CODE
(
sub
)
==
MEM
)
sub
=
adjust_address_nv
(
sub
,
GET_MODE
(
x
),
0
);
else
if
(
GET_CODE
(
sub
)
==
REG
...
...
@@ -3091,6 +3084,15 @@ purge_addressof_1 (loc, insn, force, store, may_postpone, ht)
{
int
size_x
,
size_sub
;
if
(
may_postpone
)
{
/* Postpone for now, so that we do not emit bitfield arithmetics
unless there is some benefit from it. */
if
(
!
postponed_insns
||
XEXP
(
postponed_insns
,
0
)
!=
insn
)
postponed_insns
=
alloc_INSN_LIST
(
insn
,
postponed_insns
);
return
true
;
}
if
(
!
insn
)
{
/* When processing REG_NOTES look at the list of
...
...
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