summaryrefslogtreecommitdiff
path: root/contrib/gcc/c-semantics.c
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:41:50 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:41:50 +0000
commit72983f38e19d795e4671ce8231e076df7f6c5bc0 (patch)
tree636a10692c73f4e15c4e3c4effae1b84e967dab9 /contrib/gcc/c-semantics.c
parent3749dff3f9323596a9326efa4bf2b560c0e9d1d3 (diff)
parent7b74929d749aa5688fd0814a9880872323e02cde (diff)
Notes
Diffstat (limited to 'contrib/gcc/c-semantics.c')
-rw-r--r--contrib/gcc/c-semantics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/c-semantics.c b/contrib/gcc/c-semantics.c
index 030a04cb0095..eaa4452bb099 100644
--- a/contrib/gcc/c-semantics.c
+++ b/contrib/gcc/c-semantics.c
@@ -615,6 +615,7 @@ genrtl_scope_stmt (t)
{
if (TREE_CODE (fn) == FUNCTION_DECL
&& DECL_CONTEXT (fn) == current_function_decl
+ && DECL_SAVED_INSNS (fn)
&& !TREE_ASM_WRITTEN (fn)
&& TREE_ADDRESSABLE (fn))
{
@@ -727,7 +728,7 @@ genrtl_asm_stmt (cv_qualifier, string, output_operands,
emit_line_note (input_filename, lineno);
if (asm_input_p)
- expand_asm (string);
+ expand_asm (string, cv_qualifier != NULL_TREE);
else
c_expand_asm_operands (string, output_operands, input_operands,
clobbers, cv_qualifier != NULL_TREE,