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: [Gomp-discuss] Re: Implementing OpenMP pragmas for the Cfront end


Op za 08-02-2003, om 14:09 schreef Scott Robert Ladd:
> > Then we could focus our efforts on the C++ front-end that is ready.
> > Once the C-fe will be rewritten in rd form, we'll port the OMP
> > bits to C-fe.
> 
> I don't really see a problem with implementing for C++ and porting to C.
> 
> The only practical difference in OpenMP between C and C++ is in the
> necessity for the latter to construct private objects via copy constructor
> from the original object.
 
Do you think this difference is significant enough to justify splitting
up parsing and callbacks: Have a c-pragma-openmp.c which parses the
pragmas for C and C++, and have separate c-openmp.c and cp/cp-openmp.c
files to apply the pragmas and make sure we're in the right syntactic
context?

Greetz
Steven



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