PR c++/27451
* stmt.c (expand_asm_operands): Skip asm statement with erroneous
clobbers.
* g++.dg/ext/asm9.C: New test.
From-SVN: r113986
+2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27451
+ * stmt.c (expand_asm_operands): Skip asm statement with erroneous
+ clobbers.
+
2006-05-15 Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/22563
CLEAR_HARD_REG_SET (clobbered_regs);
for (tail = clobbers; tail; tail = TREE_CHAIN (tail))
{
- const char *regname = TREE_STRING_POINTER (TREE_VALUE (tail));
+ const char *regname;
+
+ if (TREE_VALUE (tail) == error_mark_node)
+ return;
+ regname = TREE_STRING_POINTER (TREE_VALUE (tail));
i = decode_reg_name (regname);
if (i >= 0 || i == -4)
+2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27451
+ * g++.dg/ext/asm9.C: New test.
+
2006-05-15 Roger Sayle <roger@eyesopen.com>
PR middle-end/26729
--- /dev/null
+// PR 27451
+// { dg-do compile }
+
+void foo()
+{
+ asm("" ::: X); // { dg-error "before" }
+}