From: rth Date: Thu, 31 Jan 2002 01:37:22 +0000 (+0000) Subject: * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. X-Git-Tag: upstream/4.9.2~89020 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=930cea6a28b5f3b01d40194e2752a180828c3cc4;p=platform%2Fupstream%2Flinaro-gcc.git * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49355 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 + + * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. + 2002-01-31 Joseph S. Myers * c-decl.c (grokdeclarator): Handle type being a typedef for an diff --git a/gcc/loop.c b/gcc/loop.c index 5df0866..a65595f 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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;