From: Danny Smith Date: Sun, 12 Oct 2003 08:21:00 +0000 (+0000) Subject: * config/i386/i386.c (x86_this_parameter): Fix typo. X-Git-Tag: releases/gcc-3.4.0~3084 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02e02343f447e536ab9aa8f5af0c9fad30bef537;p=thirdparty%2Fgcc.git * config/i386/i386.c (x86_this_parameter): Fix typo. From-SVN: r72390 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edacc43e1a58..87da21b57de8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-12 Danny Smith + + * config/i386/i386.c (x86_this_parameter): Fix typo. + 2003-10-11 Jan Hubicka * Makefile.in (web.o): New. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 67285f94ea0a..03f2be754ac1 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -15188,7 +15188,7 @@ x86_this_parameter (tree function) int regno = 0; if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (type))) regno = 2; - return gen_rtx_REG (SImode, 0); + return gen_rtx_REG (SImode, regno); } }