aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-09-15 11:07:16 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-09-15 11:07:16 +0000
commitceab0d1618f190e46cded2f48a4c5e458e6fd310 (patch)
treea2e96a73ed7c9756c8e09e6f20409f1eea491106 /gcc
parenta9dfad6dff5a02fd143455c0d6aac78de3606b18 (diff)
downloadgcc-ceab0d1618f190e46cded2f48a4c5e458e6fd310.zip
gcc-ceab0d1618f190e46cded2f48a4c5e458e6fd310.tar.gz
gcc-ceab0d1618f190e46cded2f48a4c5e458e6fd310.tar.bz2
S/390: Add missing brackets.
gcc/ChangeLog: 2015-09-15 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_const_operand_ok): Add missing brackets. From-SVN: r227780
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/s390.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7eace8e..be8089d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-15 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * config/s390/s390.c (s390_const_operand_ok): Add missing
+ brackets.
+
2015-09-15 Richard Biener <rguenther@suse.de>
PR lto/67568
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index d276ab2..ad3132f 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -728,7 +728,7 @@ s390_const_operand_ok (tree arg, int argnum, int op_flags, tree decl)
HOST_WIDE_INT_PRINT_DEC ".."
HOST_WIDE_INT_PRINT_DEC ")",
argnum, decl,
- -(HOST_WIDE_INT)1 << (bitwidth - 1),
+ -((HOST_WIDE_INT)1 << (bitwidth - 1)),
((HOST_WIDE_INT)1 << (bitwidth - 1)) - 1);
return false;
}