testsuite: Port 'check-function-bodies' to nvptx
commit50410234a3d2e1b85203d97fe6f65fd9d1f0e100
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 4 Sep 2023 20:28:12 +0000 (4 22:28 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 12 Sep 2023 08:37:41 +0000 (12 10:37 +0200)
tree13c1df417af3e56baf0b6644fb4a3d14941c4a68
parentb9cbd1a2c2f50d4e305938d97916011bd5839ce0
testsuite: Port 'check-function-bodies' to nvptx

This extends commit 4d706ff86ea86868615558e92407674a4f4b4af9
"Add dg test for matching function bodies" for nvptx.

gcc/testsuite/
* lib/scanasm.exp (configure_check-function-bodies): New proc.
(parse_function_bodies, check-function-bodies): Use it.
gcc/
* doc/sourcebuild.texi (check-function-bodies): Update.
gcc/doc/sourcebuild.texi
gcc/testsuite/lib/scanasm.exp