diff options
author | Eric Gallager <egall@gwmail.gwu.edu> | 2016-09-07 15:05:56 +0000 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-09-07 17:05:56 +0200 |
commit | 7100c1f253908708185aa9878bb147cef986279e (patch) | |
tree | 7eab280eeb6cf9e7f2f0736dd7b69614e10deae3 /gcc/opts.c | |
parent | ff0f3f1cb56ae7ee030fb9e66cdd583733a056b8 (diff) | |
download | gcc-7100c1f253908708185aa9878bb147cef986279e.zip gcc-7100c1f253908708185aa9878bb147cef986279e.tar.gz gcc-7100c1f253908708185aa9878bb147cef986279e.tar.bz2 |
i386.c: Add 'U' suffix to processor feature bits to avoid -Wnarrowing warning.
* config/i386/i386.c: Add 'U' suffix to processor feature bits
to avoid -Wnarrowing warning.
* config/i386/x86-tune.def: Likewise for DEF_TUNE selector bitmasks.
* opts.c: Likewise for SANITIZER_OPT bitmasks.
From-SVN: r240027
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1471,9 +1471,9 @@ const struct sanitizer_opts_s sanitizer_opts[] = SANITIZER_OPT (returns-nonnull-attribute, SANITIZE_RETURNS_NONNULL_ATTRIBUTE), SANITIZER_OPT (object-size, SANITIZE_OBJECT_SIZE), SANITIZER_OPT (vptr, SANITIZE_VPTR), - SANITIZER_OPT (all, ~0), + SANITIZER_OPT (all, ~0U), #undef SANITIZER_OPT - { NULL, 0, 0 } + { NULL, 0U, 0UL } }; /* Parse comma separated sanitizer suboptions from P for option SCODE, |