projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ef2ef
)
(poplevel): Start new function context when writing inline function.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:21:20 +0000
(11:21 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:21:20 +0000
(11:21 -0400)
From-SVN: r4755
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 11447e4730a5850f3ea6e336fce19a90e40e28c6..e9b2e5b6ff1ef91adbcea46970ee1cf54d6f2c2d 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-931,7
+931,11
@@
poplevel (keep, reverse, functionbody)
if (DECL_ABSTRACT_ORIGIN (decl) != 0)
TREE_ADDRESSABLE (DECL_ABSTRACT_ORIGIN (decl)) = 1;
else
- output_inline_function (decl);
+ {
+ push_function_context ();
+ output_inline_function (decl);
+ pop_function_context ();
+ }
}
/* If there were any declarations or structure tags in that level,