* Fix failure in merge_block.c testcase
@ 2021-11-21 15:15 Jan Hubicka
2021-11-21 16:53 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Jan Hubicka @ 2021-11-21 15:15 UTC (permalink / raw)
To: gcc-patches
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
diff --git a/gcc/testsuite/gcc.dg/tree-prof/merge_block.c b/gcc/testsuite/gcc.dg/tree-prof/merge_block.c
index 5da5ddff6a0..e8a8873f152 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/merge_block.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/merge_block.c
@@ -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()
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix failure in merge_block.c testcase
2021-11-21 15:15 Fix failure in merge_block.c testcase Jan Hubicka
@ 2021-11-21 16:53 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-11-21 16:53 UTC (permalink / raw)
To: Jan Hubicka, gcc-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-21 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 15:15 Fix failure in merge_block.c testcase Jan Hubicka
2021-11-21 16:53 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).