This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] New tests
On Mon, Oct 17, 2005 at 12:44:14PM -0400, Diego Novillo wrote:
> On Monday 17 October 2005 12:28, Jakub Jelinek wrote:
>
> > By any chance, do you have the Fortran testcases as well?
> >
> Not yet. I should have them ready before EOD.
Thanks.
> > So, IMHO either we should translate it into GOMP_flush function call and
> > do the __sync_synchronize (); in libgomp, or use something equally
> > strong to a non-pure function call to prevent optimizations across it.
> >
> Yeah, that'd be the easiest approach. OMP's memory model asks for
> consistency at flush and lock points (1.4.2 and 3.3). Annoyingly, no such
> text seems to exist for barrier.
Not true:
2.7.5 says:
A flush region without a list is implied at the following locations:
* During a barrier region.
...
Jakub