* decl.c (start_cleanup_fn): Declare as inline.

From-SVN: r140952
This commit is contained in:
Steve Ellcey 2008-10-07 20:09:42 +00:00 committed by Steve Ellcey
parent 7241571ec8
commit 3b14bb3928
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-10-07 Steve Ellcey <sje@cup.hp.com>
* decl.c (start_cleanup_fn): Declare as inline.
2008-10-06 Jason Merrill <jason@redhat.com>
PR c++/37376, other mangling issues

View File

@ -6006,6 +6006,7 @@ start_cleanup_fn (void)
actually needed. It is unlikely that it will be inlined, since
it is only called via a function pointer, but we avoid unnecessary
emissions this way. */
DECL_DECLARED_INLINE_P (fndecl) = 1;
DECL_INTERFACE_KNOWN (fndecl) = 1;
/* Build the parameter. */
if (use_cxa_atexit)