Hi Thomas, On 29.05.22 22:49, Thomas Schwinge wrote:
Not sure if that's what you had in mind, but what do you think about the attached "nvptx: forward '-v' command-line option to assembler, linker"? OK to push to GCC master branch (after merging <https://github.com/MentorEmbedded/nvptx-tools/pull/37> "Put '-v' verbose output onto stderr instead of stdout")?
I was mainly thinking of some way to have it available — which '-foffload-options=-Wa,-v' already permits on the GCC side. (Once the nvptx-tools patch actually makes use of the '-v'.) If I understand your patch correctly, this patch now causes 'gcc -v' to imply 'gcc -v -Wa,-v'. I think that's okay, since 'gcc -v' already outputs a lot of lines and those lines can be helpful to understand what happens and what not. Tom, your thoughts on this? Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955