This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix bootstrap for --enable-checking=assert
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: matz at suse dot de
- Date: Sun, 26 Apr 2009 14:42:15 -0700
- Subject: PATCH: Fix bootstrap for --enable-checking=assert
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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;