vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and native K&R compilers.

* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
	libraries and native K&R compilers.

From-SVN: r41391
This commit is contained in:
John David Anglin 2001-04-17 17:54:22 +00:00 committed by John David Anglin
parent 66bd5ac6d3
commit 5854680c2c
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
libraries and native K&R compilers.
2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-typeck.c (convert_arguments): Don't check for width changes

View File

@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler. Vax version.
Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000 Free Software Foundation, Inc.
1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -865,6 +865,10 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
is done just by pretending it is already truncated. */
#define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1
/* When a prototype says `char' or `short', really pass an `int'.
(On the vax, this is required for system-library compatibility.) */
#define PROMOTE_PROTOTYPES 1
/* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction
between pointers and any other objects of this machine mode. */