public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
@ 2020-05-27 13:55 marxin at gcc dot gnu.org
  2020-05-27 13:55 ` [Bug gcov-profile/95365] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-27 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95365
           Summary: [11 Regression] Broken gcov since
                    r11-627-g1dedc12d186a1108
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: aoliva at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

Since the revision gcov can't find corresponding .gcda and .gcno files:

$ gcc foo.c --coverage && ./a.out && gcov foo.c
test
foo.gcno:cannot open notes file
foo.gcda:cannot open data file, assuming not executed
No executable lines

$ ls -l
total 108
-rw-r--r-- 1 marxin users   120 May 27 15:54 a-foo.gcda
-rw-r--r-- 1 marxin users   716 May 27 15:54 a-foo.gcno
-rwxr-xr-x 1 marxin users 95344 May 27 15:54 a.out
-rw-r--r-- 1 marxin users   116 May 27 15:54 foo.c

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
@ 2020-05-27 13:55 ` marxin at gcc dot gnu.org
  2020-05-28  7:35 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-27 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-05-27
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Before the problematic revision, the files were named foo.gcda and foo.gcno.

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
  2020-05-27 13:55 ` [Bug gcov-profile/95365] " marxin at gcc dot gnu.org
@ 2020-05-28  7:35 ` rguenth at gcc dot gnu.org
  2020-06-08 22:05 ` aoliva at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-28  7:35 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
  2020-05-27 13:55 ` [Bug gcov-profile/95365] " marxin at gcc dot gnu.org
  2020-05-28  7:35 ` rguenth at gcc dot gnu.org
@ 2020-06-08 22:05 ` aoliva at gcc dot gnu.org
  2020-06-09 11:16 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu.org @ 2020-06-08 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
'fraid the change was intentional.  Different compilations of foo.c, with
different options, now get different gcda files, instead of one stepping on the
other's toes.

You have to separate compilation and linking to get foo.gc{da,no}, or use the
"-dumpbase ''" workaround to restore prior aux output naming conventions.

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-06-08 22:05 ` aoliva at gcc dot gnu.org
@ 2020-06-09 11:16 ` cvs-commit at gcc dot gnu.org
  2020-06-09 11:17 ` marxin at gcc dot gnu.org
  2024-04-16  6:41 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-09 11:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:452283bd060eb9bae41199b4b5e7266155d40e12

commit r11-1115-g452283bd060eb9bae41199b4b5e7266155d40e12
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jun 9 13:14:57 2020 +0200

    gcov: improve --coverage small example

    Pushed to master.

    gcc/ChangeLog:

            PR gcov-profile/95365
            * doc/gcov.texi: Compile and link one example in 2 steps.

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-06-09 11:16 ` cvs-commit at gcc dot gnu.org
@ 2020-06-09 11:17 ` marxin at gcc dot gnu.org
  2024-04-16  6:41 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-06-09 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
All right, I can live with the changed names of the files..

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

* [Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108
  2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2020-06-09 11:17 ` marxin at gcc dot gnu.org
@ 2024-04-16  6:41 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-16  6:41 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gejoed at rediffmail dot com

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 114735 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2024-04-16  6:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 13:55 [Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 marxin at gcc dot gnu.org
2020-05-27 13:55 ` [Bug gcov-profile/95365] " marxin at gcc dot gnu.org
2020-05-28  7:35 ` rguenth at gcc dot gnu.org
2020-06-08 22:05 ` aoliva at gcc dot gnu.org
2020-06-09 11:16 ` cvs-commit at gcc dot gnu.org
2020-06-09 11:17 ` marxin at gcc dot gnu.org
2024-04-16  6:41 ` pinskia 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).