require profiling support for gcc.dg/lto/20100430-1_0.c test
authorJoel Brobecker <brobecker@adacore.com>
Wed, 12 Dec 2018 14:22:37 +0000 (14:22 +0000)
committerJoel Brobecker <brobecke@gcc.gnu.org>
Wed, 12 Dec 2018 14:22:37 +0000 (14:22 +0000)
commit5da5fefeeb90d1f3bc750f2c38c6917634127734
tree75a42523b30e6d1a914d803c0a086c4edc237c75
parentd665cd9b131b129caa3f6b1e3f85e43b34ca71e8
require profiling support for gcc.dg/lto/20100430-1_0.c test

This test currently fails unexpectedly if GCC is configured with
--disable-gcov, because it requires -fprofile-arcs. This patch
fixes the issue by requiring profiling support in order to run
this test.

Tested with two compilers, one built with --disable-gcov, resulting
in the test reporting an UNSUPPORTED result; and one built with gcov
support, resulting in 2 PASS tests.

gcc/testsuite/ChangeLog:

        * gcc.dg/lto/20100430-1_0.c: Add dg-require-profiling requirement.

From-SVN: r267055
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20100430-1_0.c