aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/rtl.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9b1ee7..1367851 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2019-03-29 Kugan Vivekanandarajah <kuganv@linaro.org>
+ Eric Botcazou <ebotcazou@adacore.com>
+
+ PR rtl-optimization/89862
+ * rtl.h (word_register_operation_p): Exclude CONST_INT from operations
+ that operates on the full registers for WORD_REGISTER_OPERATIONS
+ architectures.
+
2019-03-29 Jim Wilson <jimw@sifive.com>
* common/config/riscv/riscv-common.c (riscv_parse_arch_string):
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 1a021fb..b4a906f 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4400,6 +4400,7 @@ word_register_operation_p (const_rtx x)
{
switch (GET_CODE (x))
{
+ case CONST_INT:
case ROTATE:
case ROTATERT:
case SIGN_EXTRACT: