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: [RFC PATCH] -grecord-gcc-switches (PR other/32998)


On 07/14/2011 12:29 PM, Jakub Jelinek wrote:
On Thu, Jul 14, 2011 at 12:26:41PM -0400, Jason Merrill wrote:
On 07/14/2011 05:41 AM, Jakub Jelinek wrote:
Here is a PCH friendly variant of the patch which tries to set right
producer from the start, but early in dwarf2out_finish double checks
if PCH hasn't changed it and if it did, updates it back to the expected
string.

Why not just wait until then to set it?

Because the same routine that sets it is used both to create the single compilation unit early and to create CUs late (for -feliminate-dwarf2-dups already during dwarf2out_finish).

Ah. OK, then.


Jason


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