Hi Richard,

> Iain Sandoe <[email protected]> writes:
>> To help support multiple platforms when using function body
>> scans, there is support for adding target-specific options via
>> "dg-add-options dg-add-options check_function_bodies".
>>
>> However this call has been ommitted from a number of the function body
>> tests.
>>
>> Fixed by adding them.
>
> Rather than have an extra step that (as this patch proves) is hard to
> remember, could we instead make this automatic?  The patch below seems
> to work for me with a hacked-up check_function_bodies that adds a fake
> option.
>
> I tried to check that every test in the patch invokes the:
>
>   { dg-final { check-function-bodies ... } }
>
> after the final dg-options.

very nice indeed.  I'd originally added the explicit dg-add-options
version because it's common practice.  Your version is both less fragile
and more readable than the manual approach.

Thanks for doing this.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to