This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
broken prototypes in gcc/toplev.c for HP
- To: egcs-bugs at cygnus dot com
- Subject: broken prototypes in gcc/toplev.c for HP
- From: davidb at msi-uk dot com (David Binderman)
- Date: Thu, 5 Feb 1998 12:53:50 GMT
Hello there,
Two of the prototypes in gcc/toplev.c, around line 2000 or so, are
not quite correct for a K&R C compiler.
/* Routine to close a dump file. */
static void
close_dump_file (func, insns)
void (*func)PVPROTO(( FILE *, rtx)); /* CHANGE HERE */
rtx insns;
{
and
/* Routine to dump rtl into a file. */
static void
dump_rtl (suffix, decl, func, insns)
char *suffix;
tree decl;
void (*func)PVPROTO((FILE *, rtx)); /* CHANGE HERE */
rtx insns;
{
HP 10.20 ships a standard with a K&R compiler which does not understand -g
or -O, much less ISO C prototypes.
Regards
David C Binderman MSc BSc (Hons) +44 171 971 8765 davidb@msi-uk.com
contracting at Mobile Systems International in the Docklands, London, England