diff options
author | Steve Ellcey <sje@cup.hp.com> | 2002-01-31 01:37:22 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-01-30 17:37:22 -0800 |
commit | 71cef493de2ca62f117c467d6e1436574ea7e76b (patch) | |
tree | 8b8530fcdcc774d7555de65d49d6c342b3297e0e /gcc | |
parent | 2a4e6407556e09db8a5043e56f8c9d91f863a687 (diff) | |
download | gcc-71cef493de2ca62f117c467d6e1436574ea7e76b.zip gcc-71cef493de2ca62f117c467d6e1436574ea7e76b.tar.gz gcc-71cef493de2ca62f117c467d6e1436574ea7e76b.tar.bz2 |
* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
From-SVN: r49355
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/loop.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8410020..eb8865e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-30 Steve Ellcey <sje@cup.hp.com> + + * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. + 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> * c-decl.c (grokdeclarator): Handle type being a typedef for an @@ -3230,7 +3230,7 @@ loop_invariant_p (loop, x) since the reg might be set by initialization within the loop. */ if ((x == frame_pointer_rtx || x == hard_frame_pointer_rtx - || x == arg_pointer_rtx) + || x == arg_pointer_rtx || x == pic_offset_table_rtx) && ! current_function_has_nonlocal_goto) return 1; |