This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [COMMITTED] PR46932: Fix unresolved in testsuite
On 07/08/17 15:42, Wilco Dijkstra wrote:
> Richard Earnshaw wrote:
>>
>> Except that I think this would be better done as an 'effective target'
>> test; something like
>>
>> dg-require-effective-target autoincdec
>>
>> that way new ports will be more likely to pick up relevant tests like this.
>
> Sure but what would be a correct implementation of "autoincdec"?
>
> Wilco
>
The list of targets that support the operation. Start with your list.
See, eg, check_effective_target_vect_int. I think you only need a
static test of whether the autoinc pass is enabled and the documentation
(comments) should make that clear.
R.