[gomp] Fortran OpenMP parser

Jakub Jelinek jakub@redhat.com
Mon Sep 19 19:15:00 GMT 2005


On Mon, Sep 19, 2005 at 08:36:29PM +0200, Tobias Schl?ter wrote:
> I'd suggest putting the gomp stuff in its own file, while probably not
> necessary right now, I think this will make sense once the translation part is
> going to grow.  This will also save you large offsets when merging between
> branches.

I'd move just the largest contiguous chunks.
I think that is:
1) 500 lines from match.c
2) potentially big resolve_omp_directive and its subroutines
3) potentially big gfc_trans_omp_directive and its subroutines
Or do you prefer to move parse_omp_* and decode_omp_* as well?
The parse.c stuff uses various parse.c local macros, static functions etc.

Do you want all of 1), 2) and 3) to go into one single file (openmp.c),
or separate match-openmp.c, resolve-openmp.c and trans-openmp.c?

	Jakub



More information about the Gcc-patches mailing list