Commit 1eaea054 by Richard Henderson Committed by Richard Henderson

* local-alloc.c (function_invariant_p): Update commentary.

From-SVN: r48530
parent 0cc5f812
2002-01-03 Richard Henderson <rth@redhat.com>
* local-alloc.c (function_invariant_p): Update commentary.
2002-01-04 H.J. Lu <hjl@gnu.org>
* toplev.c (rest_of_compilation): Fix a typo when calling
......
/* Allocate registers within a basic block, for GNU compiler.
Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001 Free Software Foundation, Inc.
1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
......@@ -779,6 +779,12 @@ memref_used_between_p (memref, start, end)
}
/* Return nonzero if the rtx X is invariant over the current function. */
/* ??? Actually, the places this is used in reload expect exactly what
is tested here, and not everything that is function invariant. In
particular, the frame pointer and arg pointer are special cased;
pic_offset_table_rtx is not, and this will cause aborts when we
go to spill these things to memory. */
int
function_invariant_p (x)
rtx x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment