This is the mail archive of the gcc@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: Implementing OpenMP pragmas for the C front end


Steven Bosscher wrote:-

> But I don't like all the callbacks much.  It may clutter the code for
> people who don't care about OpenMP, and it is more prone to errors than
> I would like (it's so easy to overlook something in the parser...). 

>From your post it appears that the pragmas all share a namespace.  That
namespace need only be registered when the relevant command-line flag
is given.  All those pragmas could be implemented in a separate file,
say c-omp.c.  I don't see why it should clutter or slow down the rest
of the compiler if done like that.

Neil.


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