parloops: don't request insert that won't be completed
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:33:06 +0000 (14:33 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:47 +0000 (14:39 -0300)
commit512af6c3803c4714cb2a92a8db263fb7f2b4ea10
treec6a09b10e1779b017b703a97e5d906a3dd5f6dd7
parent8d48107702aa8027f5e8b35ade919c5c0d50ef1e
parloops: don't request insert that won't be completed

In take_address_of, we may refrain from completing a decl_address
INSERT if gsi is NULL, so dnn't even ask for an INSERT in this case.

for  gcc/ChangeLog

* tree-parloops.cc (take_address_of): Skip INSERT if !gsi.
gcc/tree-parloops.cc