+2004-12-29 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/19190
+ * cvt.c (convert_to_void): Do not use STRIP_NOPs.
+
2004-12-28 Richard Henderson <rth@redhat.com>
PR inline-asm/15740
turned into a call to "__builtin_memcpy", with a
conversion of the return value to an appropriate
type.) So, to avoid false positives, we strip
- conversions. */
- STRIP_NOPS (e);
+ conversions. Do not use STRIP_NOPs because it will
+ not strip conversions to "void", as that is not a
+ mode-preserving conversion. */
+ while (TREE_CODE (e) == NOP_EXPR)
+ e = TREE_OPERAND (e, 0);
code = TREE_CODE (e);
class = TREE_CODE_CLASS (code);
+2004-12-29 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/19190
+ * g++.dg/warn/Wunused-10.C: New test.
+
2004-12-28 Richard Henderson <rth@redhat.com>
* objc.dg/stabs-1.m: Disable for alpha.