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] New pragma handling mechanism.


On Tue, Apr 12, 2005 at 09:59:00PM -0700, Mark Mitchell wrote:
> http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00934.html
> 
> but, obviously, it was either unclear or not compelling.

Not particularly compelling.  I think this is way over-engineered.

What _I_ want appears to be much more like what Dmitry wants,
but Zack doesn't.  I wanna see _these_ pragmas totally inline
with the text of the program, so that I can just treat them
as any other text that needs parsing.  Then my "#pragma omp for" 
parser does its thing and recurses on c_parser_for_statement,
validates the restricted expression forms, and modifies the IL
to be whatever we decide the right thing is.

I was kinda happy with Zack's "end-pragma-and-continue" thing
becuase it will still let me do that, only with a small jog in
the middle.



r~


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