diff options
Diffstat (limited to 'gcc/cp/semantics.c')
| -rw-r--r-- | gcc/cp/semantics.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index f3022466955..79f50386314 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -709,7 +709,7 @@ finish_asm_stmt (cv_qualifier, string, output_operands, tree clobbers; { if (TREE_CHAIN (string)) - combine_strings (string); + string = combine_strings (string); if (processing_template_decl) { @@ -721,7 +721,8 @@ finish_asm_stmt (cv_qualifier, string, output_operands, else { emit_line_note (input_filename, lineno); - if (output_operands != NULL_TREE) + if (output_operands != NULL_TREE || input_operands != NULL_TREE + || clobbers != NULL_TREE) { if (cv_qualifier != NULL_TREE && cv_qualifier != ridpointers[(int) RID_VOLATILE]) |

