]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
authorJason Merrill <jason@redhat.com>
Thu, 16 May 2002 03:20:55 +0000 (23:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 May 2002 03:20:55 +0000 (23:20 -0400)
From-SVN: r53504

gcc/cp/ChangeLog
gcc/cp/pt.c

index 812a5512f3ee71e27c9b148f9999e9e0ffc476d9..c04c30a3a8b2727d66a2f8bbebc9905032de02be 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-09  Jason Merrill  <jason@redhat.com>
+
+       * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
+
 2002-05-15  Alexandre Oliva  <aoliva@redhat.com>
 
        * cp-tree.h (struct lang_type): Added non_zero_init.
 
        * GCC 3.1 Released.
 
-2002-05-14  Release Manager
-
-       * GCC 3.1 Released.
-
 2002-05-03  Jason Merrill  <jason@redhat.com>
 
        * decl.c (BOOL_TYPE_SIZE): Move default to defaults.h.
@@ -53,6 +53,7 @@
 
 2002-04-30  Jason Merrill  <jason@redhat.com>
 
+       PR debug/6436
        * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.
 
index 989cf1a640ec8acf287a1d36f6c0323f8321ae6d..7b6581f8b3c5398fee058a4169c262aaf54ebdaa 100644 (file)
@@ -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: