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
307f767b
Commit
307f767b
authored
Sep 19, 2002
by
Dale Johannesen
Committed by
Dale Johannesen
Sep 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove creation of invalid subreg. PR 7705, 7339, 7720.
From-SVN: r57315
parent
8d87f295
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+4
-0
gcc/combine.c
+5
-0
No files found.
gcc/ChangeLog
View file @
307f767b
2002
-
09
-
19
Dale
Johannesen
<
dalej
@apple
.
com
>
*
combine
.
c
(
make_extraction
)
:
Don
'
t
create
invalid
subreg
.
2002
-
09
-
19
Ulrich
Weigand
<
uweigand
@de
.
ibm
.
com
>
*
config
/
s390
/
s390
.
c
(
addr_generation_dependency_p
)
:
Handle
SUBREG
gcc/combine.c
View file @
307f767b
...
...
@@ -6124,6 +6124,11 @@ make_extraction (mode, inner, pos, pos_rtx, len,
final_word
+=
(
GET_MODE_SIZE
(
inner_mode
)
-
GET_MODE_SIZE
(
tmode
))
%
UNITS_PER_WORD
;
/* Avoid creating invalid subregs, for example when
simplifying (x>>32)&255. */
if
(
final_word
>=
GET_MODE_SIZE
(
inner_mode
))
return
NULL_RTX
;
new
=
gen_rtx_SUBREG
(
tmode
,
inner
,
final_word
);
}
else
...
...
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