egcs-980129, toplev.c problem with KNR compilers + patch
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Jan 31 09:11:00 GMT 1998
I needed this on hpux9 using cc for stage1.
--Kaveh
Sat Jan 31 12:17:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.c (close_dump_file): Wrap the arguments of a parameter
(of type function pointer) in the PROTO() macro for KNR compilers.
(dump_rtl): Likewise.
*** egcs-980129/gcc/toplev.c~ Wed Jan 28 06:46:35 1998
--- egcs-980129/gcc/toplev.c Thu Jan 29 18:45:41 1998
***************
*** 2201,2207 ****
/* Routine to close a dump file. */
static void
close_dump_file (func, insns)
! void (*func)(FILE *, rtx);
rtx insns;
{
TIMEVAR
--- 2201,2207 ----
/* Routine to close a dump file. */
static void
close_dump_file (func, insns)
! void (*func) PROTO((FILE *, rtx));
rtx insns;
{
TIMEVAR
***************
*** 2224,2230 ****
dump_rtl (suffix, decl, func, insns)
char *suffix;
tree decl;
! void (*func)(FILE *, rtx);
rtx insns;
{
open_dump_file (suffix, decl_printable_name (decl, 2));
--- 2224,2230 ----
dump_rtl (suffix, decl, func, insns)
char *suffix;
tree decl;
! void (*func) PROTO((FILE *, rtx));
rtx insns;
{
open_dump_file (suffix, decl_printable_name (decl, 2));
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu ICon CMT Corp.
More information about the Gcc-bugs
mailing list