]> gcc.gnu.org Git - gcc.git/commit
nvptx: forward '-v' command-line option to assembler
authorThomas Schwinge <thomas@codesourcery.com>
Sun, 29 May 2022 20:31:43 +0000 (22:31 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 26 Sep 2022 14:00:09 +0000 (16:00 +0200)
commit84072a2615ec1f5f35e994128a6dc22af5bf1322
treeabc965ae05ea9762ee7527742cc72482a7e97407
parent1b74b5cb4e9d7191f298245063a8f9c3a1bbeff4
nvptx: forward '-v' command-line option to assembler

For example, for offloading compilation with '-save-temps -v', before vs. after
word-diff then looks like:

    [...]
     [...]/build-gcc-offload-nvptx-none/gcc/as {+-v -v+} -o ./a.xnvptx-none.mkoffload.o ./a.xnvptx-none.mkoffload.s
    {+Verifying sm_30 code with sm_35 code generation.+}
    {+ ptxas -c -o /dev/null ./a.xnvptx-none.mkoffload.o --gpu-name sm_35 -O0+}
    [...]

(This depends on <https://github.com/MentorEmbedded/nvptx-tools/pull/37>
"Put '-v' verbose output onto stderr instead of stdout".)

gcc/
* config/nvptx/nvptx.h (ASM_SPEC): Define.
gcc/config/nvptx/nvptx.h
This page took 0.055374 seconds and 5 git commands to generate.