diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a64dd56d87e3205265cc90e075d885ae1fa837b9..266216c809b271feb3f93326101d7d267bd586cc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-27  Jakub Jelinek  <jakub@redhat.com>
+
+	* dwarf2out.c (gen_producer_string): Ignore also -fverbose-asm
+	option.
+
 2011-07-27  Kai Tietz  <ktietz@redhat.com>
 
 	* tree-vrp.c (extract_range_from_binary_expr): Remove
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 8ea9f3787863ae0d8301c8a9b2cb16077e6b9cb9..7109c9dbfb360b1f0eac1fa2392b37f4365ea7df 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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: