Commit efae2f50 by Jeff Law Committed by Jeff Law

re PR tree-optimization/86010 (redundant memset with smaller size not eliminated)

	PR tree-optimization/86010
	* tree-ssa-dse.c (compute_trims): Fix typo/thinko.

From-SVN: r262841
parent 9c179c2d
2018-07-17 Jeff Law <law@redhat.com> 2018-07-17 Jeff Law <law@redhat.com>
PR tree-optimization/86010
* tree-ssa-dse.c (compute_trims): Fix typo/thinko.
* config/mips/mips.c (vr4130_align_insns): Update for recent * config/mips/mips.c (vr4130_align_insns): Update for recent
changes to label_to_alignment. changes to label_to_alignment.
......
...@@ -260,7 +260,7 @@ compute_trims (ao_ref *ref, sbitmap live, int *trim_head, int *trim_tail, ...@@ -260,7 +260,7 @@ compute_trims (ao_ref *ref, sbitmap live, int *trim_head, int *trim_tail,
/* If more than a word remains, then make sure to keep the /* If more than a word remains, then make sure to keep the
starting point at least word aligned. */ starting point at least word aligned. */
if (last_live - first_live > UNITS_PER_WORD) if (last_live - first_live > UNITS_PER_WORD)
*trim_head &= (UNITS_PER_WORD - 1); *trim_head &= ~(UNITS_PER_WORD - 1);
if ((*trim_head || *trim_tail) if ((*trim_head || *trim_tail)
&& dump_file && (dump_flags & TDF_DETAILS)) && dump_file && (dump_flags & TDF_DETAILS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment