aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-07-27 11:36:25 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-07-27 11:36:25 +0200
commit7bbdd4e9c3f0647ee683a7e433128737139275fe (patch)
tree1ec44fc78755681c8b8b9672cd0dde24043fce1f /gcc
parentaebf4828b85b283b649954a9f3cb73ea06561e5f (diff)
downloadgcc-7bbdd4e9c3f0647ee683a7e433128737139275fe.zip
gcc-7bbdd4e9c3f0647ee683a7e433128737139275fe.tar.gz
gcc-7bbdd4e9c3f0647ee683a7e433128737139275fe.tar.bz2
dwarf2out.c (output_macinfo_op): Ensure fd->filename points to GC allocated copy of the string.
* dwarf2out.c (output_macinfo_op): Ensure fd->filename points to GC allocated copy of the string. (dwarf2out_finish): Emit .debug_macinfo or .debug_macro sections before .debug_line, not after it. From-SVN: r176819
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a64dd56..266216c 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 8ea9f37..7109c9d 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: