From: mpf Date: Wed, 10 Sep 2014 10:36:00 +0000 (+0000) Subject: Fix ICE in bitmap routines with LRA and inline assembly language X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37aa16f1a5431582dec57ed22dee04def53cf782;p=thirdparty%2Fgcc.git Fix ICE in bitmap routines with LRA and inline assembly language gcc/ * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR assignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215119 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5da8e477f5de..4f9d1cf5492f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-10 Robert Suchanek + + * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR + assignment. + 2014-09-10 Jakub Jelinek * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c index f34517d502fe..b72824e8fa80 100644 --- a/gcc/lra-lives.c +++ b/gcc/lra-lives.c @@ -680,9 +680,9 @@ process_bb_lives (basic_block bb, int &curr_point) /* Mark early clobber outputs dead. */ for (reg = curr_id->regs; reg != NULL; reg = reg->next) if (reg->type == OP_OUT && reg->early_clobber && ! reg->subreg_p) - need_curr_point_incr = mark_regno_dead (reg->regno, - reg->biggest_mode, - curr_point); + need_curr_point_incr |= mark_regno_dead (reg->regno, + reg->biggest_mode, + curr_point); for (reg = curr_static_id->hard_regs; reg != NULL; reg = reg->next) if (reg->type == OP_OUT && reg->early_clobber && ! reg->subreg_p)