Commit 564060c3 by Andrew Pinski

[multiple changes]

2004-10-05  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17368
        * semantics.c (finish_asm_stmt): Asm expressions need cleanup
        also.

2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17368
        * g++.dg/ext/asm6.C: New test.

From-SVN: r88627
parent df7d2d80
2004-10-05 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17368
* semantics.c (finish_asm_stmt): Asm expressions need cleanup
also.
2004-10-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert diagnostics to use quoting flag q 6/n
......
......@@ -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);
}
......
2004-10-06 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17368
* g++.dg/ext/asm6.C: New test.
2004-10-06 Kenneth Zadeck <zadeck@naturalbridge.com>
gcc.dg/20011119-1.c : Added memory attribute to asm sequence.
* gcc.dg/20011119-1.c : Added memory attribute to asm sequence.
2004-10-06 Paul Brook <paul@codesourcery.com>
......
struct A
{
~A();
};
int foo(A);
void bar()
{
A a;
asm("" : : "r"(foo(a)) );//<-- cleanup needed here.
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment