PR c++/17456
* cvt.c (convert_to_void): Set expr to void_zero_node after
overload failure.
From-SVN: r92364
+2004-12-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/17456
+ * cvt.c (convert_to_void): Set expr to void_zero_node after
+ overload failure.
+
2004-12-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/16806
of an overloaded function, and this is not one of them. */
pedwarn ("%s cannot resolve address of overloaded function",
implicit ? implicit : "void cast");
+ expr = void_zero_node;
}
else if (implicit && probe == expr && is_overloaded_fn (probe))
/* Only warn when there is no &. */