aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2013-02-07 17:20:26 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2013-02-07 17:20:26 +0000
commit5306401f2a1f6b090e9b17bfdd6271be53d1410d (patch)
tree52e3fc5d2911f4829d595b205c8d47dd7f49a824
parent027ece11c1e1e4ea23a92b49699934a192d155cc (diff)
downloadgcc-5306401f2a1f6b090e9b17bfdd6271be53d1410d.zip
gcc-5306401f2a1f6b090e9b17bfdd6271be53d1410d.tar.gz
gcc-5306401f2a1f6b090e9b17bfdd6271be53d1410d.tar.bz2
lra-constraints.c (process_alt_operands): Fix recently added comment.
2013-02-07 Vladimir Makarov <vmakarov@redhat.com> * lra-constraints.c (process_alt_operands): Fix recently added comment. From-SVN: r195857
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lra-constraints.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c8551dc..ac90812 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
+ * lra-constraints.c (process_alt_operands): Fix recently added
+ comment.
+
+2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
+
PR rtl-optimization/56225
* lra-constraints.c (process_alt_operands): Check that reload hard
reg can hold value for strict_low_part.
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
index 932b699..af68c3a 100644
--- a/gcc/lra-constraints.c
+++ b/gcc/lra-constraints.c
@@ -1896,10 +1896,10 @@ process_alt_operands (int only_alternative)
mode, hard_regno[nop])
: in_class_p (op, this_alternative, NULL))))
{
- /* Strict_low_part requires reload the register not
- the sub-register. In this case we should check
- that a final reload hard reg can hold the
- value. */
+ /* Strict_low_part requires to reload the register
+ not the sub-register. In this case we should
+ check that a final reload hard reg can hold the
+ value mode. */
if (curr_static_id->operand[nop].strict_low
&& REG_P (op)
&& hard_regno[nop] < 0