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

IainS developer@sandoe-acoustics.co.uk
Mon Dec 8 17:33:00 GMT 2008


On 8 Dec 2008, at 17:08, Tobias Burnus wrote:
>> on 64bit processors
>> +! { dg-options "-fcray-pointer -lgcc_eh" { target *-*-darwin* } }
> Is it on purpose that you remove the option -fopenmp ?

-fopenmp is added always by libgomp.exp - I'm not sure why it was in  
here.

>> 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.)

that's a mistake (cut & paste)  - Good Grief.... :-/

-----

Since I sent this patch I am wondering about some consistency.

most of the test cases with "threadprivate"  are protected by:

! { dg-require-effective-target tls_runtime }

I'm wondering if that is really the change needed here.

Having said that, AFAICT from looking at the gcc list - TLS is  
supported on darwin by the emulation layer... (which is consistent  
with the errors I was seeing).

Thanks,
Iain



More information about the Fortran mailing list