]> gcc.gnu.org Git - gcc.git/commit
testsuite: Add profile_update_atomic check to gcov-20.c [PR114614]
authorKewen Lin <linkw@linux.ibm.com>
Tue, 9 Apr 2024 02:02:17 +0000 (21:02 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Tue, 9 Apr 2024 02:02:17 +0000 (21:02 -0500)
commit9c97de682303b81c8886ac131fcfb3b122f2f1a6
tree1fe2d80c871b1962d81f499739d9b1b51a4860dd
parent26eb5f8fd173e2425ae7505528fc426de4b7e34c
testsuite: Add profile_update_atomic check to gcov-20.c [PR114614]

As PR114614 shows, the newly added test case gcov-20.c by
commit r14-9789-g08a52331803f66 failed on targets which do
not support atomic profile update, there would be a message
like:

  warning: target does not support atomic profile update,
           single mode is selected

Since the test case adopts -fprofile-update=atomic, it
requires effective target check profile_update_atomic, this
patch is to add the check accordingly.

PR testsuite/114614

gcc/testsuite/ChangeLog:

* gcc.misc-tests/gcov-20.c: Add effective target check
profile_update_atomic.
gcc/testsuite/gcc.misc-tests/gcov-20.c
This page took 0.06546 seconds and 6 git commands to generate.