aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2011-07-14 11:49:01 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-07-14 11:49:01 +0000
commit1f098f077cf9ed048238e0a8d609034bb48f5e4c (patch)
tree4c789229c174b35ae3866d01a128ea384bae8c59 /gcc/expr.c
parent76f59013b2da09f76f56ee7ce23f908e66d8df73 (diff)
downloadgcc-1f098f077cf9ed048238e0a8d609034bb48f5e4c.zip
gcc-1f098f077cf9ed048238e0a8d609034bb48f5e4c.tar.gz
gcc-1f098f077cf9ed048238e0a8d609034bb48f5e4c.tar.bz2
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
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index ed921aa..ee11142 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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);