This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3 debug hooks for begin_function
On Mon, Jul 16, 2001 at 10:31:39PM +0100, Neil Booth wrote:
> Sadly not - xcoffout.c's version uses RTX_INTEGRATED_P (note) --
> something to do with inlined functions -- which is why I'd left the
> rtx alone.
Missed that.
Well, based on usage, one can assume inline_p is set if
strcmp (xcoff_current_function_file, filename) != 0
|| lineno < xcoff_begin_function_line
If, by some freak of nature, we eventually start inlining
functions that come after the current function in the file,
we'll wind up thinking that "inline_p" is false, but we'll
still be able to represent the proper line number with a
function-relative offset.
There appears to be some redundancy here, but I can't quite
put my finger on it.
r~