[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
This commit is contained in:
parent
df7d2d8064
commit
564060c32a
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2004-10-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||||
|
|
||||||
Convert diagnostics to use quoting flag q 6/n
|
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,
|
output_operands, input_operands,
|
||||||
clobbers);
|
clobbers);
|
||||||
ASM_VOLATILE_P (r) = volatile_p;
|
ASM_VOLATILE_P (r) = volatile_p;
|
||||||
|
r = maybe_cleanup_point_expr (r);
|
||||||
return add_stmt (r);
|
return add_stmt (r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
|
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>
|
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>
|
2004-10-06 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
struct A
|
||||||
|
{
|
||||||
|
~A();
|
||||||
|
};
|
||||||
|
int foo(A);
|
||||||
|
void bar()
|
||||||
|
{
|
||||||
|
A a;
|
||||||
|
asm("" : : "r"(foo(a)) );//<-- cleanup needed here.
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue