* c-common.c (warn_for_collisions_1): Use appropriate option when
warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132428
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ * c-common.c (warn_for_collisions_1): Use appropriate option when
+ warning.
+
2008-02-19 Nick Clifton <nickc@redhat.com>
PR other/31349
&& DECL_NAME (list->expr))
{
warned_ids = new_tlist (warned_ids, written, NULL_TREE);
- warning (0, "operation on %qE may be undefined", list->expr);
+ warning (OPT_Wsequence_point, "operation on %qE may be undefined",
+ list->expr);
}
list = list->next;
}