From: Jakub Jelinek Date: Mon, 28 Mar 2022 07:51:28 +0000 (+0200) Subject: predcom: Fix up component::component [PR105056] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50f9148f7a8daf1fa1608cb23595c3cca191da0f;p=test_jj.git predcom: Fix up component::component [PR105056] The recent change didn't initialize comp_step while previously we used XCNEW to allocate it. I think RS_ANY is better than RS_INTERNAL (== 0) as the default. 2022-03-28 Jakub Jelinek PR tree-optimization/105056 * tree-predcom.cc (component::component): Initialize also comp_step. --- diff --git a/gcc/tree-predcom.cc b/gcc/tree-predcom.cc index e4aea7c..bb3a1cb6 100644 --- a/gcc/tree-predcom.cc +++ b/gcc/tree-predcom.cc @@ -367,7 +367,8 @@ enum ref_step_type struct component { - component (bool es) : eliminate_store_p (es), next (NULL) {} + component (bool es) : comp_step (RS_ANY), eliminate_store_p (es), + next (NULL) {} /* The references in the component. */ auto_vec refs;