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
b166bfd2
Commit
b166bfd2
authored
Sep 26, 2005
by
Fariborz Jahanian
Committed by
Fariborz Jahanian
Sep 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for valid use of subreg.
Oked by Richard Henderson. From-SVN: r104649
parent
bd0ffa87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/combine.c
+1
-1
No files found.
gcc/ChangeLog
View file @
b166bfd2
2005
-
09
-
26
Fariborz
Jahanian
<
fjahanian
@apple
.
com
>
*
combine
.
c
(
make_extraction
)
:
Check
for
valid
use
of
subreg
.
2005
-
09
-
26
Uros
Bizjak
<
uros
@kss
-
loka
.
si
>
PR
target
/
24055
...
...
gcc/combine.c
View file @
b166bfd2
...
...
@@ -6314,7 +6314,7 @@ make_extraction (enum machine_mode mode, rtx inner, HOST_WIDE_INT pos,
/* Avoid creating invalid subregs, for example when
simplifying (x>>32)&255. */
if
(
final_word
>=
GET_MODE_SIZE
(
inner_mode
))
if
(
!
validate_subreg
(
tmode
,
inner_mode
,
inner
,
final_word
))
return
NULL_RTX
;
new
=
gen_rtx_SUBREG
(
tmode
,
inner
,
final_word
);
...
...
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