]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix afdo-crossmodule-1b.c [PR120859]
authorAndrew Pinski <quic_apinski@quicinc.com>
Sun, 20 Jul 2025 02:11:09 +0000 (19:11 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 20 Jul 2025 02:36:57 +0000 (19:36 -0700)
commit9de2fbf46cdfb9f0ed8c1fb7e7524443e975ff29
treed0e644ab07e4298857a2c3f13b04cc9cec78574b
parent1e77645795fdf25ffdb5e9931fd9c946f2261fe2
testsuite: Fix afdo-crossmodule-1b.c [PR120859]

The problem here is that the testcase is part of another
testcase but dg-final does not work across source files
so it needs its own dg-* headers to that match up with
afdo-crossmodule-1.c.

Pushed as preapproved in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859#c4 .

PR testsuite/120859
gcc/testsuite/ChangeLog:

* gcc.dg/tree-prof/afdo-crossmodule-1b.c: Add some dg-*
commands like what is in afdo-crossmodule-1.c

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.dg/tree-prof/afdo-crossmodule-1b.c