2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16205
* c-common.c (warn_for_collisions_1): Warn for only decls which
have a name.
From-SVN: r83759
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
+ PR c++/16205
+ * c-common.c (warn_for_collisions_1): Warn for only decls which
+ have a name.
+
PR c++/15145
* c.opt (Wsequence-point): Enable for C++ and ObjC++.
{
if (list->expr == written
&& list->writer != writer
- && (! only_writes || list->writer))
+ && (! only_writes || list->writer)
+ && DECL_NAME (list->expr))
{
warned_ids = new_tlist (warned_ids, written, NULL_TREE);
warning ("operation on `%s' may be undefined",