This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Alternate patch eliminating MD_CALL_PROTOTYPES
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: Alternate patch eliminating MD_CALL_PROTOTYPES
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sat, 27 May 2000 14:11:45 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20000520125315.C21847@wolery.cumb.org>
On Sat, May 20, 2000 at 12:53:15PM -0700, Zack Weinberg wrote:
> * Makefile.in (WARN_CFLAGS): Add -Wstrict-prototypes
> -Wmissing-prototypes.
> * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
>
> * builtins.c, calls.c: Change all instances of gen_call_* or
> gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
> * calls.c (struct_value_size_rtx): Separate definition from
> initialization to avoid unused variable warning.
>
> * genflags.c (gen_macro): New function.
> (gen_proto): Call it for gen_call_* and gen_sibcall_*.
> (gen_nonproto): Delete.
> (gen_insn): Put all insns on the same obstack.
> (main): Generate prototypes for everything unconditionally.
Ok.
r~