[PATCH] Fix various issues seen with clang-static-analyzer.

Martin Liška mliska@suse.cz
Thu Jun 27 11:21:00 GMT 2019


Hi.

The patch addressed couple of issues that are explained and I should
have permission to install the patch.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Thanks,
Martin

gcc/ChangeLog:

2019-06-27  Martin Liska  <mliska@suse.cz>

	PR tree-optimization/90974
	PR rtl-optimization/90975
	PR rtl-optimization/90976
	PR target/91016
	PR tree-optimization/91017
	* config/i386/i386-expand.c (ix86_expand_rounddf_32): Remove
	unused tmp.
	* lra.c (lra_set_insn_recog_data): Remove a leftover from
	initial commit of IRA.
	* optabs.c (expand_twoval_binop): Use xop0 and xop1 instead
	of op0 and op1.
	* tree-vect-loop.c (vect_create_epilog_for_reduction):
	Remove unused mode1.
	* tree-vect-stmts.c (vectorizable_call): Remove dead assignment
	to new_stmt_info.
---
 gcc/config/i386/i386-expand.c | 5 ++---
 gcc/lra.c                     | 8 ++------
 gcc/optabs.c                  | 4 ++--
 gcc/tree-vect-loop.c          | 1 -
 gcc/tree-vect-stmts.c         | 6 ++----
 5 files changed, 8 insertions(+), 16 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-various-issues-seen-with-clang-static-analyzer.patch
Type: text/x-patch
Size: 3888 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190627/85146ccc/attachment.bin>


More information about the Gcc-patches mailing list