From b2471e18879ba7763868a9598e4ef4de1240ffda Mon Sep 17 00:00:00 2001 From: law Date: Tue, 17 Jul 2018 23:54:10 +0000 Subject: [PATCH] PR tree-optimization/86010 * tree-ssa-dse.c (compute_trims): Fix typo/thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262841 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/tree-ssa-dse.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac4abdaf1ba..bccc0c76b04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-07-17 Jeff Law + PR tree-optimization/86010 + * tree-ssa-dse.c (compute_trims): Fix typo/thinko. + * config/mips/mips.c (vr4130_align_insns): Update for recent changes to label_to_alignment. diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index ebc4a1e0fc1..4cb8c0f83ac 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -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 starting point at least word aligned. */ 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) && dump_file && (dump_flags & TDF_DETAILS)) -- 2.11.4.GIT