aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorSteve Ellcey <Steve.Ellcey@imgtec.com>2014-09-08 09:46:49 -0700
committerSteve Ellcey <Steve.Ellcey@imgtec.com>2014-09-08 09:46:49 -0700
commit5924514d709ff71ada81685cc71e75749e1e987b (patch)
tree0b3e23f220cd6e51a341d4e6b5e2409a8035bcba /gcc-4.9
parent142855c94b3bc9e140a1b55c1a424259285d751c (diff)
downloadtoolchain_gcc-5924514d709ff71ada81685cc71e75749e1e987b.tar.gz
toolchain_gcc-5924514d709ff71ada81685cc71e75749e1e987b.tar.bz2
toolchain_gcc-5924514d709ff71ada81685cc71e75749e1e987b.zip
Fix LRA bug involving inline assembly language. Compiler was generating
and ICE on some inline assembly constructs. Change-Id: I47be8ff0d5119f2e95611c0b6ed119414c49c6f8
Diffstat (limited to 'gcc-4.9')
-rw-r--r--gcc-4.9/gcc/lra-lives.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc-4.9/gcc/lra-lives.c b/gcc-4.9/gcc/lra-lives.c
index 8444adee6..6474c30b0 100644
--- a/gcc-4.9/gcc/lra-lives.c
+++ b/gcc-4.9/gcc/lra-lives.c
@@ -665,9 +665,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)