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] Enable PCH support on Solaris


Eric Botcazou <ebotcazou@libertysurf.fr> writes:

> > > Should I add a third argument to the macro, like
> > > 	#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE, STATIC_COUNTER)
> >
> > Sounds reasonable to me.
> 
> Thanks for considering the question. I'm going to write the patch, but 
> probably with COUNTER only because of too long lines. Properly documenting 
> its semantics in tm.texi should be sufficient.

I don't suppose we could make this into a target hook?  If it was a
proper function, there'd be no problem having static variables for
counters in the same place...

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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