Unresolved GOMP testcase

Tobias Burnus burnus@net-b.de
Wed Mar 11 09:15:12 GMT 2026


Hi Jerry,

Jerry D wrote:
> Running target unix
> UNRESOLVED: libgomp.fortran/uses_allocators-7.f90   -O compilation 
> failed to produce executable
>
> I think it needs a { dg-do run } unless this was on purpose.

This test currently fails with:

! { dg-message "sorry, unimplemented: 'uses_allocators' clause with 
traits and memory spaces" "" { target *-*-* } 15 }

As the proposed patch wasn't ready (only support for predefined 
allocators landed).

Thus, once that bit has been implemented, it should work and run.

In principle, '{ dg-do compile }' is correct for now – but once the 
'sorry' part has been implemented, the current setting is expected. – I 
am afraid that when we add that dg-do, we will forget to remove it once 
the feature has been implemented.

BTW: In libgomp's Fortran tests, '' and '{ dg-do run }' aren't 
identical: The former compiles and runs the program with -O2, the latter 
compiles and runs the program multiple times with different -O... options.

Tobias

PS: Chung-Lin has posted a uses_allocators patch also for this part, but 
it did not handle asynchronous code and, hence, was not merged. He 
recently looked into what is needed to implement it properly.



More information about the Fortran mailing list