[patch, libgomp.fortran/testuite] fix uninstalled check problem on darwin8

Tobias Burnus burnus@net-b.de
Mon Dec 8 17:23:00 GMT 2008


Hi,

IainS wrote:
> Index: libgomp/testsuite/libgomp.fortran/crayptr2.f90
> ===================================================================
>  ! { dg-do run }
>  ! { dg-options "-fopenmp -fcray-pointer" }
> -! { dg-options "-fopenmp -fcray-pointer -static-libgcc" { target
> *-*-darwin* } }
> +! FIXME: work around __emutls_get_address problem in libgcc_s.1.dylib
> on 64bit processors
> +! { dg-options "-fcray-pointer -lgcc_eh" { target *-*-darwin* } }
Is it on purpose that you remove the option -fopenmp ?


> Index: libgomp/testsuite/libgomp.fortran/pr32550.f90
> ===================================================================
>  ! PR fortran/32550
>  ! { dg-do run }
> -! { dg-options "-static-libgcc" { target *-*-darwin* } }
> +! FIXME: work around __emutls_get_address problem in libgcc_s.1.dylib
> on 64bit processors
> +! { dg-options "-fcray-pointer -lgcc_eh" { target *-*-darwin* } }
And that you add -fcray-pointer here? One might need to add -fopenmp
here. (I'm not sure whether dg-options overrides this setting or not.)

Tobias



More information about the Fortran mailing list