gcc/
PR middle-end/49736
* expr.c (all_zeros_p): Undo bogus part of last change.
From-SVN: r176270
+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);