[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-19 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #23 from xaizek --- > it should be fixed in the updated version of the patch. Yes, it is. > Right now, one can easily detect JSON format with > `gcov --help | grep json-format`, am I right? What type of capability would > you apprec

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-18 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #20 from xaizek --- The patch works! I think you actually implemented behaviour of `-p` for `-l` (you hash path in the code and don't process includes). `-l` doesn't seem to make much sense for JSON, because all includes will be in th

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-17 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #18 from xaizek --- > The following 2 files should be created (right now b.gcov.json.gz and > a.gcov.json.gz are created) > > b.gcov.json.gz > src/a.gcov.json.gz > > and so -p and -x does not play any role here. Now you'll need to

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-16 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #15 from xaizek --- > I don't think anything is violated, because GCC has `-o` option. Actually, I tried it and GCC can produce such weird results as well, but documentation talks about file discovery, not about reproducing this beha

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-16 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #14 from xaizek --- > This example violates that because you would end up with clasing myclass.o. I don't think anything is violated, because GCC has `-o` option. It's equivalent in GCOV is mangling: > The mangledname part of the ou

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-05-31 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 xaizek changed: What|Removed |Added CC||xaizek at posteo dot net --- Comment #11 from

[Bug pch/56549] #pragma once ineffective with BOM in include file

2020-06-21 Thread xaizek at posteo dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56549 xaizek at posteo dot net changed: What|Removed |Added CC||xaizek at posteo dot net

[Bug c++/85558] New: ICE in make_rtl_for_nonlocal_decl when using static member of template class

2018-04-28 Thread xaizek at posteo dot net
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: xaizek at posteo dot net Target Milestone: --- Source code to reproduce the ICE // no ICE if triggerBug is not a template template struct