diff options
author | Jason Merrill <jason@redhat.com> | 2002-01-02 13:28:43 -0500 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-01-02 10:28:43 -0800 |
commit | a4200657995ab7821e56ddd2688e082328e75b51 (patch) | |
tree | dc3b10dbde15efb798eab0e5c64bc291a19ee7c3 /gcc/c-decl.c | |
parent | 54ba1f0dee5132daad89f2d238141f347fdc9655 (diff) | |
download | gcc-a4200657995ab7821e56ddd2688e082328e75b51.zip gcc-a4200657995ab7821e56ddd2688e082328e75b51.tar.gz gcc-a4200657995ab7821e56ddd2688e082328e75b51.tar.bz2 |
c-decl.c (c_expand_body): Call outlining_inline_function when emitting an inline function out of line.
* c-decl.c (c_expand_body): Call outlining_inline_function when
emitting an inline function out of line.
* semantics.c (expand_body): Call outlining_inline_function when
emitting an inline function out of line.
From-SVN: r48479
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 495425b..eb29b17 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1,6 +1,6 @@ /* 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. @@ -6947,6 +6947,11 @@ c_expand_body (fndecl, nested_p, can_defer_p) 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 |