https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
Martin Liška changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #18 from Martin Liška ---
Author: marxin
Date: Thu Jun 8 07:51:07 2017
New Revision: 249006
URL: https://gcc.gnu.org/viewcvs?rev=249006&root=gcc&view=rev
Log:
gcov: Add block_info::block_info (PR gcov-profile/80911).
2017-06-08 Ma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #17 from Tom de Vries ---
(In reply to Martin Liška from comment #2)
> Can't confirm that, running trunk@248556 works fine for me.
> Utilizing valgrind also does not help.
I also had problems reproducing the problem, so I decided to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #16 from Martin Liška ---
(In reply to Tom de Vries from comment #15)
> (In reply to Tom de Vries from comment #13)
> > (In reply to Martin Liška from comment #12)
> > > Created attachment 41436 [details]
> > > Candidate patch
> > >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #15 from Tom de Vries ---
(In reply to Tom de Vries from comment #13)
> (In reply to Martin Liška from comment #12)
> > Created attachment 41436 [details]
> > Candidate patch
> >
> > Please test the patch.
>
> Currently testing.
Di
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #14 from Tom de Vries ---
(In reply to Martin Liška from comment #11)
> Ok, I'm probably starting to know what's wrong. Can you please following
> patch and provide me output:
>
I have not yet been able to reproduce the problem in a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #13 from Tom de Vries ---
(In reply to Martin Liška from comment #12)
> Created attachment 41436 [details]
> Candidate patch
>
> Please test the patch.
Currently testing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
Martin Liška changed:
What|Removed |Added
Status|WAITING |NEW
Assignee|unassigned at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #12 from Martin Liška ---
Created attachment 41436
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41436&action=edit
Candidate patch
Please test the patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #11 from Martin Liška ---
Ok, I'm probably starting to know what's wrong. Can you please following patch
and provide me output:
diff --git a/gcc/gcov.c b/gcc/gcov.c
index a5aa4aadcac..b0417165642 100644
--- a/gcc/gcov.c
+++ b/gcc/gco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #10 from Tom de Vries ---
(In reply to Martin Liška from comment #6)
> That said can you please verify gcov --version and gcov-dump --version.
$ ./install/bin/gcov --version
gcov (GCC) 8.0.0 20170524 (experimental)
Copyright (C) 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #9 from Tom de Vries ---
(In reply to Tom de Vries from comment #3)
> When run from command line:
> ...
> nobootstrap/build/gcc/gcov gcov-1.c
> gcov-1.gcno:corrupted
> gcov-1.gcda:profile mismatch for 'main'
> Segmentation fault
> ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #8 from Martin Liška ---
For the files you provided:
$ gcov gcov-1.c && cat gcov-1.c.gcov
/home/vries/gcc_versions/data/ref-master-17-05-24/src/gcc/testsuite/gcc.misc-tests/gcov-1.c:source
file is newer than notes file 'gcov-1.gcno'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #7 from Martin Liška ---
Sorry, the previous comment is not correct as I see changes paths in the file.
Investigating more...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #6 from Martin Liška ---
>
> $ ./nobootstrap/install/bin/gcov-dump gcov-1.gcno
> gcov-1.gcno:note:magic `gcno':version `A80e'
> gcov-1.gcno:stamp 1402604930
> gcov-1.gcno: 0100: 19:FUNCTION ident=108032747,
> lineno_checksum=0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #5 from Tom de Vries ---
(In reply to Martin Liška from comment #2)
> Can't confirm that, running trunk@248556 works fine for me.
> Utilizing valgrind also does not help.
>
> Can you please run a single test manually:
>
> $ gcc --co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #4 from Tom de Vries ---
Created attachment 41434
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41434&action=edit
gcov-1.tgz
$ tar cvfz gcov-1.tgz gcov-1.*
gcov-1.exe
gcov-1.gcda
gcov-1.gcno
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #3 from Tom de Vries ---
When run from command line:
...
nobootstrap/build/gcc/gcov gcov-1.c
gcov-1.gcno:corrupted
gcov-1.gcda:profile mismatch for 'main'
Segmentation fault
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #1 from Tom de Vries ---
Configured as:
...
$ xgcc -v
Using built-in specs.
COLLECT_GCC=./nobootstrap/build/gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with: src/configure --prefix=nobootstrap/install --with-gmp=infra
--with-mpfr=
20 matches
Mail list logo