This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 05/11] testsuite: Add check for unsupported TI ABI PRU features to testsuite
On 06/13/2018 12:57 PM, Dimitar Dimitrov wrote:
> Not all C language features are supported when -mabi=ti option is
> used for PRU target.
>
> gcc/testsuite/ChangeLog:
>
> 2018-06-13 Dimitar Dimitrov <dimitar@dinux.eu>
>
> * lib/gcc-dg.exp: Filter unsupported features in PRU's TI ABI mode.
> * lib/target-utils.exp: Ditto.
I think a level of indirection would be better here. ie, define a new
routines that indicate if the target has function pointers and large
return values and call that routine from within gcc-dg-prune and
*_check_supported_p.
Those routines would obviously return true for pru :-)
With that change this will be OK once the rest of the kit is approved.
jeff