Bug 96148 - [11 regression] gcc.dg/tree-prof/crossmodule-indir-call-topn-[12].c UNRESOLVED
Summary: [11 regression] gcc.dg/tree-prof/crossmodule-indir-call-topn-[12].c UNRESOLVED
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: gcov-profile (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: 11.0
Assignee: Martin Liška
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-10 12:31 UTC by Rainer Orth
Modified: 2020-07-10 12:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2020-07-10 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2020-07-10 12:31:21 UTC
Between 20200525 (14cd049afcb992ac334b4a2ad7be42ee78fe31eb) and 20200526 (0981cf960d07752f9844a2f2799fbc85a7f1efd8), two tests started to regress
everywhere:

+UNRESOLVED: gcc.dg/tree-prof/crossmodule-indir-call-topn-1.c scan-pgo-wpa-ipa-dump profile_estimate "2 \\\\(200.00%\\\\) speculations produced."
+UNRESOLVED: gcc.dg/tree-prof/crossmodule-indir-call-topn-2.c scan-pgo-wpa-ipa-dump profile_estimate "2 \\\\(200.00%\\\\) speculations produced."

The log shows

gcc.dg/tree-prof/crossmodule-indir-call-topn-1.c: dump file does not exist
dump file: crossmodule-indir-call-topn-1.x02.wpa.profile_estimate

and indeed the generate step creates

-O2.wpa.073i.profile_estimate

(just like that, the filename is not included!) and the use step produces

-O2-crossmodule-indir-call-topn-1.gcda
-O2-crossmodule-indir-call-topn-1a.gcda
Comment 1 Martin Liška 2020-07-10 12:43:24 UTC
Thanks for the report, I know how to fix it.
Comment 2 GCC Commits 2020-07-10 12:48:02 UTC
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:e969e9be88e83871ef66f4cd1592db7e8ae6244b

commit r11-2017-ge969e9be88e83871ef66f4cd1592db7e8ae6244b
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jul 10 14:45:13 2020 +0200

    testsuite: Fix WPA scanning.
    
    gcc/testsuite/ChangeLog:
    
            PR gcov-profile/96148
            * lib/scanwpaipa.exp: Fix wpa dump file suffix the same way
            as other in the file.
Comment 3 Martin Liška 2020-07-10 12:48:34 UTC
Fixed on master.