Commit 5854680c by John David Anglin Committed by John David Anglin

vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and…

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
parent 66bd5ac6
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> 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-typeck.c (convert_arguments): Don't check for width changes * c-typeck.c (convert_arguments): Don't check for width changes
......
/* Definitions of target machine for GNU compiler. Vax version. /* Definitions of target machine for GNU compiler. Vax version.
Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 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. This file is part of GNU CC.
...@@ -865,6 +865,10 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; ...@@ -865,6 +865,10 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
is done just by pretending it is already truncated. */ is done just by pretending it is already truncated. */
#define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1 #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. /* Specify the machine mode that pointers have.
After generation of rtl, the compiler makes no further distinction After generation of rtl, the compiler makes no further distinction
between pointers and any other objects of this machine mode. */ between pointers and any other objects of this machine mode. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment