Hi! During testing of a backport I've realized that -fverbose-asm is another gcc option that doesn't make sense to preserve in DW_AT_producer, it doesn't affect the generated code, just how the assembly is commented. Tested on x86_64-linux, committed as obvious to trunk:
2011-07-27 Jakub Jelinek <ja...@redhat.com> * dwarf2out.c (gen_producer_string): Ignore also -fverbose-asm option. --- gcc/dwarf2out.c (revision 176817) +++ gcc/dwarf2out.c (working copy) @@ -18244,6 +18244,7 @@ gen_producer_string (void) case OPT__output_pch_: case OPT_fdiagnostics_show_location_: case OPT_fdiagnostics_show_option: + case OPT_fverbose_asm: case OPT____: case OPT__sysroot_: case OPT_nostdinc: Jakub