[PATCH][test] Gate gcc.dg/aru-2.c test on profiling support

Jeff Law law@redhat.com
Mon Jan 12 17:46:00 GMT 2015


On 01/12/15 08:54, Kyrill Tkachov wrote:
> Hi all,
>
> This recently added test adds -pg to its dg-options but not all targets
> support
>   this and fail at link-time with "bin/ld: cannot find -lc_p".
>
> Looking around I see that all tests that use -pg also do a
> dg-require-profiling.
> This patch adds that.
>
> With this patch the test doesn't FAIL on aarch64-none-elf. It appears as
> UNSUPPORTED.
>
> Ok for trunk?
>
> Thanks,
> Kyrill
>
> 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>      * gcc.dg/aru-2.c: Add dg-require-profiling directive.
OK.
Jeff



More information about the Gcc-patches mailing list