summaryrefslogtreecommitdiff
path: root/gcc/lra-lives.c
diff options
context:
space:
mode:
authormpf <mpf@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-10 10:36:00 +0000
committermpf <mpf@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-10 10:36:00 +0000
commit37aa16f1a5431582dec57ed22dee04def53cf782 (patch)
tree9852a1c19ba4349734755040caa2e8a468f45f82 /gcc/lra-lives.c
parent4a94b9969ec93ed510cd233bff1a32103be2d78b (diff)
downloadgcc-37aa16f1a5431582dec57ed22dee04def53cf782.tar.gz
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
Diffstat (limited to 'gcc/lra-lives.c')
-rw-r--r--gcc/lra-lives.c6
1 files changed, 3 insertions, 3 deletions
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)