On 12/3/20 2:12 PM, Richard Biener wrote: > Can we somehow preserve this by making the helper produce separate > strings for the 'GNU C17 11.0 ...' part and the options passed part? So the > -fverbose-asm and -Q consumer can continue to nicely print the option part? Yep, good idea. I've just done that and I have: 1) -Q output now: GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 options passed: -dumpbase-ext .c -mtune=generic -march=x86-64 -g -O2 and GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 options passed: ./xgcc -B. -Q -v /home/marxin/Programming/testcases/a.c -c -O2 -fverbose-asm -frecord-gcc-switches-format=driver -g -S 2) For -fverbose-asm: # GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 # options passed: -dumpbase-ext .c -mtune=generic -march=x86-64 -g -O2 and # GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 # options passed: -dumpbase-ext .c -mtune=generic -march=x86-64 -g -O2 -frecord-gcc-switches-file=/tmp/ccm3kL7d.cmdline 3) DWARF producer: DW_AT_producer : (indirect string, offset: 0x97): GNU C17 11.0.0 20201204 (experimental) -dumpbase-ext .c -mtune=generic -march=x86-64 -g -O2 and DW_AT_producer : (indirect string, offset: 0x27): GNU C17 11.0.0 20201204 (experimental) ./xgcc -B. -Q -v /home/marxin/Programming/testcases/a.c -c -O2 -fverbose-asm -frecord-gcc-switches-format=driver -g Thoughts? Thanks, Martin