Commit 1f098f07 by Richard Sandiford Committed by Richard Sandiford

re PR middle-end/49736 (Revision 176228 miscompiled 255.vortex in SPEC CPU 2000)

gcc/
	PR middle-end/49736
	* expr.c (all_zeros_p): Undo bogus part of last change.

From-SVN: r176270
parent 76f59013
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.
......
......@@ -5157,7 +5157,7 @@ all_zeros_p (const_tree exp)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment