Fix failure in merge_block.c testcase
Commit Message
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 <hubicka@ucw.cz>
PR ipa/103264
* gcc.dg/tree-prof/merge_block.c: Add -fno-ipa-modref
Comments
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 <hubicka@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
@@ -1,5 +1,5 @@
-/* { dg-options "-O2 -fno-ipa-pure-const -fdump-tree-optimized-blocks-details -fno-early-inlining" } */
+/* { dg-options "-O2 -fno-ipa-pure-const -fdump-tree-optimized-blocks-details -fno-early-inlining -fno-ipa-modref" } */
int a[8];
int t()
{