+2002-01-02 Jason Merrill <jason@redhat.com>
+
+ * c-decl.c (c_expand_body): Call outlining_inline_function when
+ emitting an inline function out of line.
+
2002-01-02 Richard Henderson <rth@redhat.com>
* dwarf2out.c (limbo_die_node): Add created_for member.
/* Process declarations and variables for C compiler.
Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001 Free Software Foundation, Inc.
+ 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
timevar_push (TV_EXPAND);
+ if (DECL_INLINE (fndecl))
+ /* Do any preparation such as emitting abstract debug info for the
+ inline before it gets mangled by optimization. */
+ (*debug_hooks->outlining_inline_function) (fndecl);
+
if (nested_p)
{
/* Make sure that we will evaluate variable-sized types involved
+2002-01-02 Jason Merrill <jason@redhat.com>
+
+ * semantics.c (expand_body): Call outlining_inline_function when
+ emitting an inline function out of line.
+
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5116, c++/764 reversion
building RTL. These routines are used both during actual parsing
and during the instantiation of template functions.
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Written by Mark Mitchell (mmitchell@usa.net) based on code found
formerly in parse.y and pt.c.
recorded when we finished processing the function. */
lineno = STMT_LINENO (DECL_SAVED_TREE (fn));
+ if (DECL_INLINE (fn))
+ /* Do any preparation such as emitting abstract debug info for the
+ inline before it gets mangled by optimization. */
+ (*debug_hooks->outlining_inline_function) (fn);
+
/* Generate code for the function. */
genrtl_finish_function (fn);