This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix typo in stormy16.c on 3_4 branch
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, mmitchell at codesourcery dot com
- Date: 30 Sep 2004 13:40:25 -0700
- Subject: Re: RFA: Fix typo in stormy16.c on 3_4 branch
- References: <m38yasdkmv.fsf@redhat.com>
Nick Clifton <nickc@redhat.com> writes:
> Hi Guys,
>
> May I apply the patch below ? It fixes a small typo in stormy16.c
> which prevents the vararg handling code from working. Normally I
> would consider this an obvious fix, but since the branch is closed
> for everything except regressions I thought that I had better ask.
I think this change should go in. It can only affect xstormy16,
and assuming it doesn't break the build (you tested it, right?)
I think it can only make things better.
> gcc/ChangeLog
> 2004-09-30 Nick Clifton <nickc@redhat.com>
>
> * config/stormy16/stormy16.c (TARGET_BUILD_BUILTIN_VA_LIST_TYPE):
> Fix typo in macro name, it should be: TARGET_BUILD_BUILTIN_VA_LIST.
>
> Index: config/stormy16/stormy16.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.c,v
> retrieving revision 1.51
> diff -c -3 -p -r1.51 stormy16.c
> *** config/stormy16/stormy16.c 17 Nov 2003 08:42:56 -0000 1.51
> --- config/stormy16/stormy16.c 30 Sep 2004 12:00:53 -0000
> *************** xstormy16_expand_builtin(tree exp, rtx t
> *** 2211,2217 ****
> #undef TARGET_ADDRESS_COST
> #define TARGET_ADDRESS_COST xstormy16_address_cost
>
> ! #undef TARGET_BUILD_BUILTIN_VA_LIST_TYPE
> ! #define TARGET_BUILD_BUILTIN_VA_LIST_TYPE xstormy16_build_builtin_va_list
>
> struct gcc_target targetm = TARGET_INITIALIZER;
> --- 2211,2217 ----
> #undef TARGET_ADDRESS_COST
> #define TARGET_ADDRESS_COST xstormy16_address_cost
>
> ! #undef TARGET_BUILD_BUILTIN_VA_LIST
> ! #define TARGET_BUILD_BUILTIN_VA_LIST xstormy16_build_builtin_va_list
>
> struct gcc_target targetm = TARGET_INITIALIZER;
>