projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa02149
)
* rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
author
Jan Hubicka
<jh@suse.cz>
Wed, 24 Jul 2002 15:24:35 +0000
(17:24 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 24 Jul 2002 15:24:35 +0000
(15:24 +0000)
From-SVN: r55710
gcc/ChangeLog
patch
|
blob
|
history
gcc/rtlanal.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 7e9cd869832c40a0979aea2aee40bd7a1bbe71a6..dca8f443936f3152bbac9de787ec67dff38747be 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
+
2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
PR optimization/7291
diff --git
a/gcc/rtlanal.c
b/gcc/rtlanal.c
index c1fdb7604ae54be3ca8d0bdb0c720e2779b34e49..35cc5130caaa0a5a7d0ec4f9ace1705ad7832290 100644
(file)
--- a/
gcc/rtlanal.c
+++ b/
gcc/rtlanal.c
@@
-3247,6
+3247,7
@@
keep_with_call_p (insn)
if (INSN_P (insn) && (set = single_set (insn)) != NULL)
{
if (GET_CODE (SET_DEST (set)) == REG
+ && REGNO (SET_DEST (set)) < FIRST_PSEUDO_REGISTER
&& fixed_regs[REGNO (SET_DEST (set))]
&& general_operand (SET_SRC (set), VOIDmode))
return true;