This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix bootstrap on !HAVE_GAS_DISCRIMINATOR hosts


Committed as obvious.

Richard.

2009-06-05  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/40350
	* dwarf2out.c (dwarf2out_begin_function): Mark discriminator
	as possibly unused.

Index: gcc/dwarf2out.c
===================================================================
--- gcc/dwarf2out.c	(revision 148205)
+++ gcc/dwarf2out.c	(working copy)
@@ -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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]