On Thu, Nov 07, 2013 at 02:58:31PM +0100, Thomas Schwinge wrote: > On Thu, 7 Nov 2013 09:15:45 +0100, Jakub Jelinek <ja...@redhat.com> wrote: > > On Wed, Nov 06, 2013 at 08:42:18PM +0100, tho...@codesourcery.com wrote: > > > --- gcc/config/arc/arc.h > > > +++ gcc/config/arc/arc.h > > > @@ -174,7 +174,7 @@ along with GCC; see the file COPYING3. If not see > > > %(linker) %l " LINK_PIE_SPEC "%X %{o*} %{A} %{d} %{e*} %{m} %{N} > > > %{n} %{r}\ > > > %{s} %{t} %{u*} %{x} %{z} %{Z} > > > %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ > > > %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ > > > - %{fopenmp:%:include(libgomp.spec)%(link_gomp)} %(mflib)\ > > > + %{fopenacc|fopenmp:%:include(libgomp.spec)%(link_gomp)} %(mflib)\ > > > > Perhaps add here |ftree-parallelize-loops=* too? [...] > > Like this (for trunk and gomp-4_0-branch)? > > gcc/ > * config/arc/arc.h (LINK_COMMAND_SPEC): For > -ftree-parallelize-loops=*, link to libgomp and its dependencies. > * config/ia64/hpux.h (LIB_SPEC): Likewise. > * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. > * config/pa/pa64-hpux.h (LIB_SPEC): Likewise. > * gcc.c (GOMP_SELF_SPECS): Update comment about libgomp's > dependencies. > libgomp/ > * libgomp.spec.in: Update comment about libgomp's dependencies. > * configure.ac: Likewise. > * configure: Regenerate.
Yes, thanks. Jakub