diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-11-11 18:50:20 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-11-11 18:50:20 -0500 |
commit | 492cca24891e2927d0604e2297ab228950d889a6 (patch) | |
tree | 41016f949c7ab976f805d5285478ff31b3f885d3 /gcc/cp/decl.c | |
parent | 8ee322c99319bb283d6bd298a469482d9eed7004 (diff) | |
download | gcc-492cca24891e2927d0604e2297ab228950d889a6.zip gcc-492cca24891e2927d0604e2297ab228950d889a6.tar.gz gcc-492cca24891e2927d0604e2297ab228950d889a6.tar.bz2 |
decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics in inlines.
* decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics
in inlines.
From-SVN: r37394
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index d23ef2f..0d677fe 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -7655,6 +7655,7 @@ maybe_commonize_var (decl) inlining of such functions. */ current_function_cannot_inline = "function with static variable cannot be inline"; + DECL_UNINLINABLE (current_function_decl) = 1; /* If flag_weak, we don't need to mess with this, as we can just make the function weak, and let it refer to its unique local |