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
8f778593
Commit
8f778593
authored
May 17, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
May 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
From-SVN: r42212
parent
b2040e7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+4
-0
gcc/simplify-rtx.c
+4
-0
No files found.
gcc/ChangeLog
View file @
8f778593
Thu
May
17
19
:
40
:
03
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
simplify
-
rtx
.
c
(
simplify_subreg
)
:
Avoid
creating
of
incorrect
subregs
.
2001
-
05
-
17
Bernd
Schmidt
<
bernds
@redhat
.
com
>
*
expr
.
c
(
protect_from_queue
)
:
Protect
against
subsequent
calls
to
...
...
gcc/simplify-rtx.c
View file @
8f778593
...
...
@@ -2331,6 +2331,10 @@ simplify_subreg (outermode, op, innermode, byte)
%
UNITS_PER_WORD
));
}
/* Bail out in case resulting subreg would be incorrect. */
if
(
final_offset
%
GET_MODE_SIZE
(
outermode
)
||
final_offset
>=
GET_MODE_SIZE
(
innermostmode
))
return
NULL
;
/* Recurse for futher possible simplifications. */
new
=
simplify_subreg
(
outermode
,
SUBREG_REG
(
op
),
GET_MODE
(
SUBREG_REG
(
op
)),
...
...
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