From 564060c32aba5494ae02d37a7f005798bb646011 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 6 Oct 2004 15:09:25 -0700 Subject: [multiple changes] 2004-10-05 Andrew Pinski PR c++/17368 * semantics.c (finish_asm_stmt): Asm expressions need cleanup also. 2004-10-06 Andrew Pinski PR c++/17368 * g++.dg/ext/asm6.C: New test. From-SVN: r88627 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/semantics.c | 1 + 2 files changed, 7 insertions(+) (limited to 'gcc/cp') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 13117b8..20a6a2d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2004-10-05 Andrew Pinski + + PR c++/17368 + * semantics.c (finish_asm_stmt): Asm expressions need cleanup + also. + 2004-10-05 Gabriel Dos Reis Convert diagnostics to use quoting flag q 6/n diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 5bb6f3b..78d2683 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -1178,6 +1178,7 @@ finish_asm_stmt (int volatile_p, tree string, tree output_operands, output_operands, input_operands, clobbers); ASM_VOLATILE_P (r) = volatile_p; + r = maybe_cleanup_point_expr (r); return add_stmt (r); } -- cgit v1.1