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
081b49f1
Commit
081b49f1
authored
Oct 25, 2000
by
Richard Henderson
Committed by
Richard Henderson
Oct 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload.c (find_reloads_address_part): Kill rtx obstack hackery.
From-SVN: r37062
parent
d4f1c1fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
gcc/ChangeLog
+4
-0
gcc/reload.c
+0
-16
No files found.
gcc/ChangeLog
View file @
081b49f1
2000-10-25 Richard Henderson <rth@redhat.com>
* reload.c (find_reloads_address_part): Kill rtx obstack hackery.
2000-10-25 Richard Henderson <rth@redhat.com>
* simplify-rtx.c (simplify_relational_operation): Sign extend
low words before sign extending to high words.
...
...
gcc/reload.c
View file @
081b49f1
...
...
@@ -5525,18 +5525,7 @@ find_reloads_address_part (x, loc, class, mode, opnum, type, ind_levels)
{
rtx
tem
;
/* If this is a CONST_INT, it could have been created by a
plus_constant call in eliminate_regs, which means it may be
on the reload_obstack. reload_obstack will be freed later, so
we can't allow such RTL to be put in the constant pool. There
is code in force_const_mem to check for this case, but it doesn't
work because we have already popped off the reload_obstack, so
rtl_obstack == saveable_obstack is true at this point. */
if
(
GET_CODE
(
x
)
==
CONST_INT
)
tem
=
x
=
force_const_mem
(
mode
,
GEN_INT
(
INTVAL
(
x
)));
else
tem
=
x
=
force_const_mem
(
mode
,
x
);
find_reloads_address
(
mode
,
&
tem
,
XEXP
(
tem
,
0
),
&
XEXP
(
tem
,
0
),
opnum
,
type
,
ind_levels
,
0
);
}
...
...
@@ -5548,12 +5537,7 @@ find_reloads_address_part (x, loc, class, mode, opnum, type, ind_levels)
{
rtx
tem
;
/* See comment above. */
if
(
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
)
tem
=
force_const_mem
(
GET_MODE
(
x
),
GEN_INT
(
INTVAL
(
XEXP
(
x
,
1
))));
else
tem
=
force_const_mem
(
GET_MODE
(
x
),
XEXP
(
x
,
1
));
x
=
gen_rtx_PLUS
(
GET_MODE
(
x
),
XEXP
(
x
,
0
),
tem
);
find_reloads_address
(
mode
,
&
tem
,
XEXP
(
tem
,
0
),
&
XEXP
(
tem
,
0
),
opnum
,
type
,
ind_levels
,
0
);
...
...
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