aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobert Suchanek <robert.suchanek@imgtec.com>2014-09-10 10:36:00 +0000
committerMatthew Fortune <mpf@gcc.gnu.org>2014-09-10 10:36:00 +0000
commit5625bd33a23929746596a22f3a8e7ac52b368435 (patch)
tree9852a1c19ba4349734755040caa2e8a468f45f82 /gcc
parent126edc3fe212555ff83e2949b22843ae13299e09 (diff)
downloadgcc-5625bd33a23929746596a22f3a8e7ac52b368435.zip
gcc-5625bd33a23929746596a22f3a8e7ac52b368435.tar.gz
gcc-5625bd33a23929746596a22f3a8e7ac52b368435.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lra-lives.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5da8e47..4f9d1cf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c
index f34517d..b72824e 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)