This is the mail archive of the
mailing list for the GCC project.
RE: [Gomp-discuss] Re: Implementing OpenMP pragmas for the Cfront end
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: OpenMP for GCC project <gomp-discuss at nongnu dot org>
- Cc: Neil Booth <neil at daikokuya dot co dot uk>, gcc at gcc dot gnu dot org
- Date: 08 Feb 2003 19:19:17 +0100
- Subject: RE: [Gomp-discuss] Re: Implementing OpenMP pragmas for the Cfront end
- References: <FKEAJLBKJCGBDJJIPJLJAEFJEKAA.email@example.com>
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