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 for --enable-checking=assert


I checked in this patch to fix bootstrap for --enable-checking=assert.

H.J.
----
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 146817)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2009-04-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* tree-outof-ssa.c (rewrite_trees): Add ATTRIBUTE_UNUSED.
+	* tree-ssa-live.h (register_ssa_partition): Likewise.
+
 2009-04-26  Michael Matz  <matz@suse.de>
 
 	Expand from SSA.
Index: tree-ssa-live.h
===================================================================
--- tree-ssa-live.h	(revision 146817)
+++ tree-ssa-live.h	(working copy)
@@ -192,7 +192,8 @@ num_basevars (var_map map)
    partitions may be filtered out by a view later.  */ 
 
 static inline void
-register_ssa_partition (var_map map ATTRIBUTE_UNUSED, tree ssa_var)
+register_ssa_partition (var_map map ATTRIBUTE_UNUSED, 
+			tree ssa_var ATTRIBUTE_UNUSED)
 {
 #if defined ENABLE_CHECKING
   register_ssa_partition_check (ssa_var);
Index: tree-outof-ssa.c
===================================================================
--- tree-outof-ssa.c	(revision 146817)
+++ tree-outof-ssa.c	(working copy)
@@ -698,7 +698,7 @@ eliminate_useless_phis (void)
    variable.  */
 
 static void
-rewrite_trees (var_map map)
+rewrite_trees (var_map map ATTRIBUTE_UNUSED)
 {
 #ifdef ENABLE_CHECKING
   basic_block bb;


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