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
This commit is contained in:
Robert Suchanek 2014-09-10 10:36:00 +00:00 committed by Matthew Fortune
parent 126edc3fe2
commit 5625bd33a2
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-09-10 Robert Suchanek <robert.suchanek@imgtec.com>
* lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
assignment.
2014-09-10 Jakub Jelinek <jakub@redhat.com>
* flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE

View File

@ -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)