Fix ICE in bitmap routines with LRA and inline assembly language
authorRobert Suchanek <robert.suchanek@imgtec.com>
Wed, 10 Sep 2014 10:36:00 +0000 (10:36 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Wed, 10 Sep 2014 10:36:00 +0000 (10:36 +0000)
gcc/

* lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
assignment.

From-SVN: r215119

gcc/ChangeLog
gcc/lra-lives.c

index 5da8e477f5deb14c9a013a58b5fc54c6604583e8..4f9d1cf5492fb5043f3c58364959beaef1f36355 100644 (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
index f34517d502fe860c85e28dba7a75ceea51718aec..b72824e8fa80b5be17faec3cd440b47a29cd733e 100644 (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)