re PR middle-end/61378 (Obvious bug in vn_reference_lookup_3)
authorRichard Biener <rguenther@suse.de>
Mon, 2 Jun 2014 07:45:15 +0000 (07:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 2 Jun 2014 07:45:15 +0000 (07:45 +0000)
2014-06-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61378
* tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
valueized_anything.

From-SVN: r211126

gcc/ChangeLog
gcc/tree-ssa-sccvn.c

index 120ada9d8161cf09982d372bdc50785395281c40..7559fbe78b8d61c3df1d0acd1153781117638c1b 100644 (file)
@@ -1,3 +1,9 @@
+2014-06-02  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/61378
+       * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
+       valueized_anything.
+
 2014-06-01  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/constraints.md (Bw): Rename from 'w'.
index 77dcad9e578dd51c84a1c18d046394b811d4bd17..2583375f32b635132b90556686ac7660b1eab245 100644 (file)
@@ -1613,7 +1613,7 @@ vn_reference_lookup_3 (ao_ref *ref, tree vuse, void *vr_,
         conditional calls to free falsely clobbering ref because
         of imprecise points-to info of the argument.  */
       tree oldargs[4];
-      bool valueized_anything;
+      bool valueized_anything = false;
       for (unsigned i = 0; i < gimple_call_num_args (def_stmt); ++i)
        {
          oldargs[i] = gimple_call_arg (def_stmt, i);