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: [diagnostics-branch] use precise locations in C front-end


On Fri, Dec 12, 2008 at 10:11:58AM -0800, Chris Lattner wrote:
>
> On Dec 12, 2008, at 9:35 AM, Aldy Hernandez wrote:
>
>> Hi folks.
>>
>> The following patch is a top down approach for adding more precise
>> location information to the C front-end.  We start with the parser,  
>> and
>> push locations down as we build expressions and declarations.
>>
>> Virtually all the C front-end is done, with the big exception of the
>> build_fold*/fold* infrastructure.
>
> Nice, this sounds like good progress.  Out of curiosity, what do you  
> plan to do with fold?

I haven't really thought about it, but something along the lines of the
routines taking a location and sticking that in the expression before
returning the new expression.  But I'm sure it's more complicated than
that (as is usually the case with GCC ;-)).


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