On 11/21/2021 8:15 AM, Jan Hubicka via Gcc-patches wrote:
Hi, this testcase needs -fno-ipa-modref becuase otherwise it hits the issue that complete loop unrolling leaves somewhat mismatched profile. Bootstrapped/regtested x86_64-linux, comitted. gcc/testsuite/ChangeLog: 2021-11-21 Jan Hubicka <hubi...@ucw.cz> PR ipa/103264 * gcc.dg/tree-prof/merge_block.c: Add -fno-ipa-modref
Thank you. I was planning to chase this down today. jeff