aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmodes.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-07-20 17:47:33 +0200
committerUros Bizjak <uros@gcc.gnu.org>2016-07-20 17:47:33 +0200
commitdd4786fe817eb2f3336120d1b0c9ae51aeb9f94f (patch)
treea31ebbaee27a56d8af1282863c1c9427bc98e5e9 /gcc/genmodes.c
parentdbe9dfdd501cea13034c7b809330e82a54883b1e (diff)
downloadgcc-dd4786fe817eb2f3336120d1b0c9ae51aeb9f94f.zip
gcc-dd4786fe817eb2f3336120d1b0c9ae51aeb9f94f.tar.gz
gcc-dd4786fe817eb2f3336120d1b0c9ae51aeb9f94f.tar.bz2
cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0.
* cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0. * combine.c: Use HOST_WIDE_INT_M1U instead of ~(unsigned HOST_WIDE_INT) 0. * double-int.h: Ditto. * dse.c: Ditto. * dwarf2asm.c:Ditto. * expmed.c: Ditto. * genmodes.c: Ditto. * match.pd: Ditto. * read-rtl.c: Ditto. * tree-ssa-loop-ivopts.c: Ditto. * tree-ssa-loop-prefetch.c: Ditto. * tree-vect-generic.c: Ditto. * tree-vect-patterns.c: Ditto. * tree.c: Ditto. From-SVN: r238529
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r--gcc/genmodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genmodes.c b/gcc/genmodes.c
index 59faae9..097cc80 100644
--- a/gcc/genmodes.c
+++ b/gcc/genmodes.c
@@ -1409,7 +1409,7 @@ emit_mode_mask (void)
puts ("\
#define MODE_MASK(m) \\\n\
((m) >= HOST_BITS_PER_WIDE_INT) \\\n\
- ? ~(unsigned HOST_WIDE_INT) 0 \\\n\
+ ? HOST_WIDE_INT_M1U \\\n\
: (HOST_WIDE_INT_1U << (m)) - 1\n");
for_all_modes (c, m)