minor patch for gcc/flow.c
Richard Earnshaw
rearnsha@arm.com
Fri Nov 24 07:22:00 GMT 2000
>
> Hello,
>
> I had to apply this patch to let the current sources compile
> with a K&R bootstrap compiler (in casu cc on sunos4).
>
> FYI, Arno
>
> Index: gcc/flow.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/flow.c,v
> retrieving revision 1.351
> diff -u -r1.351 flow.c
> --- flow.c 2000/11/23 18:19:18 1.351
> +++ flow.c 2000/11/24 15:01:29
> @@ -6269,7 +6269,7 @@
>
> /* Dump the rtl into the current debugging dump file, then abort. */
> static void
> -print_rtl_and_abort (void)
> +print_rtl_and_abort PARAMS ((void))
> {
> if (rtl_dump_file)
> {
We don't use ANSI prototypes for any function declaration, just for the
prototypes. So change this to print_rtl_and_abort ().
Other than this, OK.
R.
More information about the Gcc-patches
mailing list