public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/103666] New: compiling single-file programs with -fprofile-generate no longer leads to intended results
@ 2021-12-11 23:31 hubicka at gcc dot gnu.org
  2021-12-13 10:27 ` [Bug gcov-profile/103666] [11/12 Regression] compiling single-file preprocessed programs with -fprofile-generate no longer leads to intended results since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hubicka at gcc dot gnu.org @ 2021-12-11 23:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103666

            Bug ID: 103666
           Summary: compiling single-file programs with -fprofile-generate
                    no longer leads to intended results
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

The following should work but we fail to name the gcda file same way in both
builds:

jh@ryzen3:~> ~/trunk-install/bin/g++ -Ofast -march=native -fprofile-generate
tramp3d-v44.ii  -fpermissive -std=c++03
jh@ryzen3:~> ./a.out -n 5
jh@ryzen3:~> ~/trunk-install/bin/g++ -Ofast -march=native -fprofile-use
tramp3d-v44.ii  -fpermissive -std=c++03 -o a.out-use
/aux/hubicka/tramp3d-v4b.cpp: In function ‘(static initializers for
/aux/hubicka/tramp3d-v4b.cpp)’:
/aux/hubicka/tramp3d-v4b.cpp:56088:1: warning:
‘/home/jh/a.out-use-tramp3d-v44.gcda’ profile count data file not found
[-Wmissing-profile]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-04  9:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-11 23:31 [Bug gcov-profile/103666] New: compiling single-file programs with -fprofile-generate no longer leads to intended results hubicka at gcc dot gnu.org
2021-12-13 10:27 ` [Bug gcov-profile/103666] [11/12 Regression] compiling single-file preprocessed programs with -fprofile-generate no longer leads to intended results since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
2021-12-15 11:29 ` pinskia at gcc dot gnu.org
2022-01-04  9:46 ` [Bug gcov-profile/103666] [11/12 Regression] compiling single-file " rguenth at gcc dot gnu.org

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).