This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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>