projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbb60b
)
combine: Check for paradoxical subreg.
author
Robin Dapp
<rdapp@linux.ibm.com>
Tue, 8 Feb 2022 13:39:16 +0000
(14:39 +0100)
committer
Robin Dapp
<rdapp@linux.ibm.com>
Tue, 8 Feb 2022 14:28:53 +0000
(15:28 +0100)
This adds a check for a paradoxical subreg in reg_subword_p ()
in order to prevent an ICE on s390 in try_combine () triggered
by the movqicc expander.
gcc/ChangeLog:
* combine.cc (reg_subword_p): Check for paradoxical subreg.
gcc/combine.cc
patch
|
blob
|
history
diff --git
a/gcc/combine.cc
b/gcc/combine.cc
index
7683f82
..
c264ede
100644
(file)
--- a/
gcc/combine.cc
+++ b/
gcc/combine.cc
@@
-2411,6
+2411,7
@@
reg_subword_p (rtx x, rtx reg)
x = XEXP (x, 0);
return GET_CODE (x) == SUBREG
+ && !paradoxical_subreg_p (x)
&& SUBREG_REG (x) == reg
&& GET_MODE_CLASS (GET_MODE (x)) == MODE_INT;
}