------- Comment #5 from ubizjak at gmail dot com 2010-04-13 19:46 -------
(In reply to comment #1)
> Created an attachment (id=20331)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20331&action=view) [edit]
> gcc46-pr43681.patch
>
> Untested patch.
How about:
Index: expr.c
===================================================================
--- expr.c (revision 158277)
+++ expr.c (working copy)
@@ -1251,7 +1251,7 @@
block_move_libcall_safe_for_call_parm (void)
{
#if defined (REG_PARM_STACK_SPACE)
- tree fn;
+ tree fn ATTRIBUTE_UNUSED;
#endif
/* If arguments are pushed on the stack, then they're safe. */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43681