aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c7
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