This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix new clang warnings.


On 8/26/19 1:47 AM, Martin Liška wrote:
> Hi.
> 
> The patch address 2 new warning seen by clang (and clang-static-analyzer)
> and changes are explained in the ChangeLog entry.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/ChangeLog:
> 
> 2019-08-26  Martin Liska  <mliska@suse.cz>
> 
> 	* cgraph.c (cgraph_node::remove): Remove dead assignment before
> 	loop.
> 	* config/i386/i386-features.c (scalar_chain::emit_conversion_insns):
> 	Enclose in anonymous namespace.
> 	* config/i386/x86-tune-costs.h (struct processor_costs): Wrap
> 	hard_register initialization in braces.
> 	* tree-vrp.h (value_range_base::supports_type_p): Return false
> 	for function with boolean return type.
> ---
>  gcc/cgraph.c                     |  2 +-
>  gcc/config/i386/i386-features.c  |  4 +++
>  gcc/config/i386/x86-tune-costs.h | 48 ++++++++++++++++++++++++++++++++
>  gcc/tree-vrp.h                   |  2 +-
>  4 files changed, 54 insertions(+), 2 deletions(-)
> 
> 
OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]