Re: [patch,gomp-4_0-branch] acc nested function support

2014-11-05 Thread David Malcolm
On Tue, 2014-11-04 at 16:45 -0800, Cesar Philippidis wrote: > Here's an updated version of my nested function patch. > > David, I tweaked the gimple class hierarchy a little bit. Here's what > the updated class diagram looks like: > > + gimple_statement_omp > | |layout: GSS_OMP.

Re: [patch,gomp-4_0-branch] acc nested function support

2014-11-04 Thread Cesar Philippidis
Here's an updated version of my nested function patch. David, I tweaked the gimple class hierarchy a little bit. Here's what the updated class diagram looks like: + gimple_statement_omp | |layout: GSS_OMP. Used for code GIMPLE_OMP_SECTION | | | + gimple_statement_om

Re: [patch,gomp-4_0-branch] acc nested function support

2014-07-29 Thread Thomas Schwinge
Hi Cesar! On Fri, 18 Jul 2014 14:07:00 -0700, Cesar Philippidis wrote: > This patch enables acc constructs to be used inside nested functions. Thanks! > I > doubt nested functions will be used much in c, but some of the openacc > fortran tutorials I've seen online make use of internal subrouti

[patch,gomp-4_0-branch] acc nested function support

2014-07-18 Thread Cesar Philippidis
Hi Thomas, This patch enables acc constructs to be used inside nested functions. I doubt nested functions will be used much in c, but some of the openacc fortran tutorials I've seen online make use of internal subroutines in fortran. Those internal subroutines are implemented as nested functions.