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]

Re: Broken function.c change of yours.


On Thu, Jun 30, 2005 at 02:18:03PM -0400, Hans-Peter Nilsson wrote:
> On Thu, 30 Jun 2005 jakub@gcc.gnu.org wrote:
> 
> > CVSROOT:	/cvs/gcc
> > Module name:	gcc
> > Changes by:	jakub@gcc.gnu.org	2005-06-30 14:30:25
> >
> > Modified files:
> > 	gcc            : ChangeLog function.c
> 
> Please fix typo causing
> /gcc/function.c:3998:48: macro "gen_stack_protect_test" passed 3 arguments, but takes just 2
> 
> > http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.629&r2=1.630

Oops, sorry, comitted wrong version of the patch (which worked on
i386/x86_64/ppc/ppc64 I was bootstrapping this exact version on).
Fixed thusly, committed as obvious.

2005-06-30  Jakub Jelinek  <jakub@redhat.com>

	* function.c (gen_stack_protect_test): Add third argument.

--- gcc/function.c	30 Jun 2005 14:29:41 -0000	1.630
+++ gcc/function.c	30 Jun 2005 19:11:01 -0000
@@ -3972,8 +3972,8 @@ stack_protect_prologue (void)
    the end of a function to be protected.  */
 
 #ifndef HAVE_stack_protect_test
-# define HAVE_stack_protect_test	0
-# define gen_stack_protect_test(x, y)	(gcc_unreachable (), NULL_RTX)
+# define HAVE_stack_protect_test		0
+# define gen_stack_protect_test(x, y, z)	(gcc_unreachable (), NULL_RTX)
 #endif
 
 static void


	Jakub


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