From 5625bd33a23929746596a22f3a8e7ac52b368435 Mon Sep 17 00:00:00 2001 From: Robert Suchanek Date: Wed, 10 Sep 2014 10:36:00 +0000 Subject: [PATCH] Fix ICE in bitmap routines with LRA and inline assembly language gcc/ * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR assignment. From-SVN: r215119 --- gcc/ChangeLog | 5 +++++ gcc/lra-lives.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5da8e477f5d..4f9d1cf5492 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 f34517d502f..b72824e8fa8 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) -- 2.30.2