This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Implementing OpenMP pragmas for the C front end
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: gcc at gcc dot gnu dot org, OpenMP for GCC project <gomp-discuss at nongnu dot org>
- Date: Fri, 7 Feb 2003 22:39:13 +0000
- Subject: Re: Implementing OpenMP pragmas for the C front end
- References: <1044655909.800.139.camel@steven>
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.