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?

>    "%{!shared: \
> -     %{mt|pthread:%{fopenmp:-lrt} -lpthread} \
> +     %{mt|pthread:%{fopenacc|fopenmp:-lrt} -lpthread} \

Likewise.

>       %{p:%{!mlp64:-L/usr/lib/hpux32/libp} \
>        %{mlp64:-L/usr/lib/hpux64/libp} -lprof} \
>       %{pg:%{!mlp64:-L/usr/lib/hpux32/libp} \
> diff --git gcc/config/pa/pa-hpux11.h gcc/config/pa/pa-hpux11.h
> index c217398..0676d74 100644
> --- gcc/config/pa/pa-hpux11.h
> +++ gcc/config/pa/pa-hpux11.h
> @@ -120,7 +120,7 @@ along with GCC; see the file COPYING3.  If not see
>  #undef LIB_SPEC
>  #define LIB_SPEC \
>    "%{!shared:\
> -     %{fopenmp:%{static:-a archive_shared} -lrt %{static:-a archive}}\
> +     %{fopenacc|fopenmp:%{static:-a archive_shared} -lrt %{static:-a 
> archive}}\

Ditto (and several times further).

Otherwise LGTM for branch.

        Jakub

Reply via email to