PR middle-end/49736
* expr.c (all_zeros_p): Undo bogus part of last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176270
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-07-14 Richard Sandiford <richard.sandiford@linaro.org>
+
+ PR middle-end/49736
+ * expr.c (all_zeros_p): Undo bogus part of last change.
+
2011-07-14 Matthias Klose <doko@ubuntu.com>
* doc/extend.texi (optimize attribute): Fix typo.
bool complete_p;
categorize_ctor_elements (exp, &nz_elts, &init_elts, &complete_p);
- return nz_elts == init_elts;
+ return nz_elts == 0;
}
return initializer_zerop (exp);