aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-06-05 12:10:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-06-05 12:10:44 +0000
commit47d1f19159314bb55589dfea175435b52234a036 (patch)
treeae566e3ec2d76fdf13022c963ef741f1168eb789 /gcc
parent75707b2826008d50d5ba85b988eacc230ac7f6e5 (diff)
downloadgcc-47d1f19159314bb55589dfea175435b52234a036.zip
gcc-47d1f19159314bb55589dfea175435b52234a036.tar.gz
gcc-47d1f19159314bb55589dfea175435b52234a036.tar.bz2
re PR bootstrap/40350 (Bootstrap failure indwarf2out.c on i686-apple-darwin9)
2009-06-05 Richard Guenther <rguenther@suse.de> PR bootstrap/40350 * dwarf2out.c (dwarf2out_begin_function): Mark discriminator as possibly unused. From-SVN: r148206
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 570590b..ebeaf29 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-05 Richard Guenther <rguenther@suse.de>
+
+ PR bootstrap/40350
+ * dwarf2out.c (dwarf2out_begin_function): Mark discriminator
+ as possibly unused.
+
2009-06-04 Jakub Jelinek <jakub@redhat.com>
* config/s390/s390.c (global_not_special_regno_p): New static inline.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index dc5ed24..e78d334 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -16226,7 +16226,7 @@ dwarf2out_begin_function (tree fun)
static void
dwarf2out_source_line (unsigned int line, const char *filename,
- int discriminator)
+ int discriminator ATTRIBUTE_UNUSED)
{
if (debug_info_level >= DINFO_LEVEL_NORMAL
&& line != 0)