]> git.ipfire.org Git - thirdparty/gcc.git/commit
predcom: Fix up component::component [PR105056]
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Mar 2022 07:51:28 +0000 (09:51 +0200)
committerJakub Jelinek <jakub@redhat.com>
Mon, 28 Mar 2022 07:51:28 +0000 (09:51 +0200)
commit50f9148f7a8daf1fa1608cb23595c3cca191da0f
tree4c4d61d1444d14427b995d531e527acb71dd880a
parentf6819b7fea38f2e5482c71aabab3d44a8bd7d904
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  <jakub@redhat.com>

PR tree-optimization/105056
* tree-predcom.cc (component::component): Initialize also comp_step.
gcc/tree-predcom.cc