[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: [PATCH, Fortran, OpenACC] Fix PR70598, Fortran host_data ICE
From:       Bernhard Reutner-Fischer <rep.dot.nop () gmail ! com>
Date:       2016-05-10 18:57:47
Message-ID: F1E73865-ED59-4FFB-8EEA-D3CB26281745 () gmail ! com
[Download RAW message or body]

On May 9, 2016 4:26:50 PM GMT+02:00, Chung-Lin Tang <cltang@codesourcery.com> wrote:
> Hi, this patch resolves an ICE for Fortran when using the OpenACC
> host_data directive.  Actually, rather than say resolve, it's more like
> adjusting the front-end to same middle-end restrictions as C/C++,
> namely that we only support pointers or arrays for host_data right now.
> 
> This patch contains a little bit of adjustments in
> fortran/openmp.c:resolve_omp_clauses(),
> and some testcase adjustments. This has been tested without regressions
> for Fortran.
> 
> Is this okay for trunk?
> 
> Thanks,
> Chung-Lin
> 
> 2015-05-09  Chung-Lin Tang  <cltang@codesourcery.com>
> 
> 	gcc/
> 	* fortran/openmp.c (resolve_omp_clauses): Adjust use_device clause
> 	handling to only allow pointers and arrays.

Fortran has it's own ChangeLog. The patch itself looks somewhat plausible to me, \
fwiw, but Jakub or a FE maintainer has the say.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic