aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-05-06 19:34:47 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-05-06 19:34:47 +0200
commit5b8bd3d5be83ee7cf781c79d56861f900f5d6d4c (patch)
tree7725ed92141ba2650a86aaf31dd93398e6a991f4 /gcc
parentbe0959d2198f17fbc209f650257024e95b7814f3 (diff)
downloadgcc-5b8bd3d5be83ee7cf781c79d56861f900f5d6d4c.zip
gcc-5b8bd3d5be83ee7cf781c79d56861f900f5d6d4c.tar.gz
gcc-5b8bd3d5be83ee7cf781c79d56861f900f5d6d4c.tar.bz2
re PR bootstrap/43994 (Revision 159063 failed to bootstrap on Linux/ia64)
PR bootstrap/43994 * df-problems.c (dead_debug_insert_before): Use *DF_REF_REAL_LOC instead of DF_REF_REAL_REG. From-SVN: r159117
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/df-problems.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 467fc40..c5cc73a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/43994
+ * df-problems.c (dead_debug_insert_before): Use *DF_REF_REAL_LOC
+ instead of DF_REF_REAL_REG.
+
2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com>
PR target/43888
diff --git a/gcc/df-problems.c b/gcc/df-problems.c
index 5f908da..84506c5 100644
--- a/gcc/df-problems.c
+++ b/gcc/df-problems.c
@@ -3501,8 +3501,8 @@ dead_debug_insert_before (struct dead_debug *debug, unsigned int uregno,
cur->next = NULL;
if (!reg
|| (GET_MODE_BITSIZE (GET_MODE (reg))
- < GET_MODE_BITSIZE (GET_MODE (DF_REF_REAL_REG (cur->use)))))
- reg = DF_REF_REAL_REG (cur->use);
+ < GET_MODE_BITSIZE (GET_MODE (*DF_REF_REAL_LOC (cur->use)))))
+ reg = *DF_REF_REAL_LOC (cur->use);
}
else
tailp = &(*tailp)->next;
@@ -3524,11 +3524,11 @@ dead_debug_insert_before (struct dead_debug *debug, unsigned int uregno,
/* Adjust all uses. */
while ((cur = uses))
{
- if (GET_MODE (DF_REF_REAL_REG (cur->use)) == GET_MODE (reg))
+ if (GET_MODE (*DF_REF_REAL_LOC (cur->use)) == GET_MODE (reg))
*DF_REF_REAL_LOC (cur->use) = dval;
else
*DF_REF_REAL_LOC (cur->use)
- = gen_lowpart_SUBREG (GET_MODE (DF_REF_REAL_REG (cur->use)), dval);
+ = gen_lowpart_SUBREG (GET_MODE (*DF_REF_REAL_LOC (cur->use)), dval);
/* ??? Should we simplify subreg of subreg? */
df_insn_rescan (DF_REF_INSN (cur->use));
uses = cur->next;