From: Jason Merrill Date: Thu, 16 May 2002 03:20:55 +0000 (-0400) Subject: * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P. X-Git-Tag: releases/gcc-3.1.1~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e3646484c53e77ed257eac25f2d59d0643d86c;p=thirdparty%2Fgcc.git * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P. From-SVN: r53504 --- 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: