aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-04-19 21:37:14 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-04-19 21:37:14 +0200
commit74e27d0d561466b606359713380ad872e57fb2a3 (patch)
treecc152755a11478138304385b9999adacf4a6ffd1 /gcc
parentec99573229c53d2c59941aa0732465e0b2629a72 (diff)
downloadgcc-74e27d0d561466b606359713380ad872e57fb2a3.zip
gcc-74e27d0d561466b606359713380ad872e57fb2a3.tar.gz
gcc-74e27d0d561466b606359713380ad872e57fb2a3.tar.bz2
dwarf2out.c (lower_bound_default): For DW_LANG_Python return 0 for -gdwarf-4.
* dwarf2out.c (lower_bound_default): For DW_LANG_Python return 0 for -gdwarf-4. From-SVN: r158526
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 18374f0..dafcc6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2out.c (lower_bound_default): For DW_LANG_Python return
+ 0 for -gdwarf-4.
+
2010-04-19 Vladimir Makarov <vmakarov@redhat.com>
* ira-color.c (allocno_reload_assign): Avoid accumulating
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index a4cb347..6e76998 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -16335,6 +16335,7 @@ lower_bound_default (void)
return 1;
case DW_LANG_UPC:
case DW_LANG_D:
+ case DW_LANG_Python:
return dwarf_version >= 4 ? 0 : -1;
case DW_LANG_Ada95:
case DW_LANG_Ada83: