From: Eric Gallager Date: Wed, 7 Sep 2016 15:05:56 +0000 (+0000) Subject: i386.c: Add 'U' suffix to processor feature bits to avoid -Wnarrowing warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7100c1f253908708185aa9878bb147cef986279e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c39b35175a7..752fac022d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-09-07 Eric Gallager + + * 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. + 2016-09-07 Wilco Dijkstra * config/aarch64/aarch64.c (aarch64_legitimize_address): diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 016082941da..1190dabd388 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2162,45 +2162,45 @@ const struct processor_costs *ix86_tune_cost = &pentium_cost; const struct processor_costs *ix86_cost = &pentium_cost; /* Processor feature/optimization bitmasks. */ -#define m_386 (1<