]> git.ipfire.org Git - thirdparty/gcc.git/commit
nvptx: Re-enable 'gcc.misc-tests/options.exp'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 28 Nov 2022 11:59:52 +0000 (12:59 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 7 Oct 2024 08:13:13 +0000 (10:13 +0200)
commite966502553c7db5dffb53ae6583b4ed6b3296839
treeb9cc6d260f581a1f0c306473c7416fc7e5b23c5a
parent8095cb55255eca1bb2fb833637a4a927bc34e63f
nvptx: Re-enable 'gcc.misc-tests/options.exp'

..., just conditionalize its profiling test (as done elsewhere).  The
re-enabled test cases all PASS.

For the record, for example for GCN target, this causes:

     Running [...]/gcc/testsuite/gcc.misc-tests/options.exp ...
    -PASS: compiler driver --coverage option(s)
     PASS: compiler driver -fdump-ipa-all-address option(s)
     PASS: compiler driver -fdump-ipa-all-alias option(s)
     PASS: compiler driver -fdump-ipa-all-all option(s)

That was:

    Running [...]/gcc/testsuite/gcc.misc-tests/options.exp ...
    Executing on host: [xgcc] [...] --coverage [...]
    [...]
    ld: error: undefined symbol: __gcov_exit
    >>> referenced by /tmp/ccRGdqjA.o:(_sub_D_00100_1)
    >>> referenced by /tmp/ccRGdqjA.o:(_sub_D_00100_1)
    collect2: error: ld returned 1 exit status
    compiler exited with status 1
    output is:
    [...]
    PASS: compiler driver --coverage option(s)

..., so that's nothing to worry about.

gcc/testsuite/
* gcc.misc-tests/options.exp: Re-enable for nvptx.
gcc/testsuite/gcc.misc-tests/options.exp