This patch fixes PR123749 which caused by an empty partition created in WPA 
partitioning pass as a result of -fipa-reorder-for-locality creating one. This 
also fixes an indentation issue.

Bootstrapped and regtested on aarch64-none-linux-gnu. OK for mainline?

Signed-off-by: Prachi Godbole [email protected]<mailto:[email protected]>

PR target/123749

gcc/Changelog:

* ipa-locality-cloning.cc (partition_callchain): Start new partition

if no. if insns exceeds size and if there are nodes to process.

Attachment: 0001-ipa-reorder-for-locality-Fix-PR123749-avoid-creating.patch
Description: 0001-ipa-reorder-for-locality-Fix-PR123749-avoid-creating.patch

Reply via email to