This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Broken function.c change of yours.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Jun 2005 15:16:21 -0400
- Subject: Re: Broken function.c change of yours.
- References: <20050630143025.28663.qmail@sourceware.org> <Pine.BSF.4.58.0506301416440.89865@dair.pair.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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