diff options
author | Steve Ellcey <sje@cup.hp.com> | 2008-10-07 20:09:42 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2008-10-07 20:09:42 +0000 |
commit | 3b14bb3928d44278ae7b724334e6fe02e146d17c (patch) | |
tree | c55c2a6e2307b0446c0ace552c59d0aebbf3850e /gcc | |
parent | 7241571ec8f99caff65f266d3ce395cb0eadb59c (diff) | |
download | gcc-3b14bb3928d44278ae7b724334e6fe02e146d17c.zip gcc-3b14bb3928d44278ae7b724334e6fe02e146d17c.tar.gz gcc-3b14bb3928d44278ae7b724334e6fe02e146d17c.tar.bz2 |
* decl.c (start_cleanup_fn): Declare as inline.
From-SVN: r140952
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 222693f..bb4b6b2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index be28e78..b0b03a5 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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) |