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: make mapped locations the default


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

Mark> Eric Botcazou wrote:
>>> I did this and it passed.
>> 
>> Neat. :-)  Thanks for the testing.

Mark> So, Tom, where are we now, from a technical perspective?  To the best of
Mark> your knowledge, could we switch to mapped locations now without
Mark> suffering any ill effects?

Yes, there is one ill effect, which is that users will get incorrect
column numbers in error messages.

The simplest way to fix this is to disable column number output
However, it might be worth trying it out and seeing whether the bugs
can be fixed in a timely way.  I would recommend that we disable
column output after branching, if the bugs aren't fixed.

I think flipping the default is the best plan (even though, eww, it
makes life hard for the incremental compiler), due to the possibility
of regressions if we don't change it.  Plus which, as mentioned
before, it is a win in memory use (though I have not tried to measure
this).

Tom


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