From 50e3646484c53e77ed257eac25f2d59d0643d86c Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 15 May 2002 23:20:55 -0400 Subject: [PATCH] * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P. From-SVN: r53504 --- gcc/cp/ChangeLog | 9 +++++---- gcc/cp/pt.c | 13 +++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 812a5512f3ee..c04c30a3a8b2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-05-09 Jason Merrill + + * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P. + 2002-05-15 Alexandre Oliva * cp-tree.h (struct lang_type): Added non_zero_init. @@ -21,10 +25,6 @@ * GCC 3.1 Released. -2002-05-14 Release Manager - - * GCC 3.1 Released. - 2002-05-03 Jason Merrill * decl.c (BOOL_TYPE_SIZE): Move default to defaults.h. @@ -53,6 +53,7 @@ 2002-04-30 Jason Merrill + PR debug/6436 * decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if there are attributes. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 989cf1a640ec..7b6581f8b3c5 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -7502,12 +7502,13 @@ tsubst_expr (t, args, complain, in_decl) case ASM_STMT: prep_stmt (t); - finish_asm_stmt (ASM_CV_QUAL (t), - tsubst_expr (ASM_STRING (t), args, complain, in_decl), - tsubst_expr (ASM_OUTPUTS (t), args, complain, in_decl), - tsubst_expr (ASM_INPUTS (t), args, complain, in_decl), - tsubst_expr (ASM_CLOBBERS (t), args, complain, - in_decl)); + tmp = finish_asm_stmt + (ASM_CV_QUAL (t), + tsubst_expr (ASM_STRING (t), args, complain, in_decl), + tsubst_expr (ASM_OUTPUTS (t), args, complain, in_decl), + tsubst_expr (ASM_INPUTS (t), args, complain, in_decl), + tsubst_expr (ASM_CLOBBERS (t), args, complain, in_decl)); + ASM_INPUT_P (tmp) = ASM_INPUT_P (t); break; case TRY_BLOCK: -- 2.47.2