This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH


On 02/25/2015 07:59 AM, Jason Merrill wrote:
On 02/19/2015 11:50 AM, Jakub Jelinek wrote:
Wouldn't it be better to disable PCH reading if -feliminate-dwarf2-dups
is used?

In the abstract, perhaps, but given

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

I'd prefer to disable the useless thing.  :)

Patch attached.


We might actually disable -feliminate-dwarf2-dups entirely until that
bug is fixed.

Well technically, this bug is a subset of 53118. I would like to mark it as a duplicate, and can tackle it as part of my early debug work. After all, we're going to get a lot more DIEs that will get streamed early on, which PCH will have to deal with. So, this will all get fixed.

Also, can we downgrade 53118, perhaps to a P4?  As Ian mentions here:

https://gcc.gnu.org/ml/gcc-help/2010-09/msg00083.html

There are better ways of optimizing this at link time for dwarf4, and the fact that this has been broken since GCC 4.0 would hint that this may not be of P2 importance?

OK for mainline pending tests?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]