diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-04-17 17:54:22 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-04-17 17:54:22 +0000 |
commit | 5854680c2ce7745d1dad96fa10b0343d3e4f0cc9 (patch) | |
tree | de9530e3ad7d0c21245411086b47e9fe637e5675 /gcc | |
parent | 66bd5ac6d382e3fe8349625e4910bff000700d8f (diff) | |
download | gcc-5854680c2ce7745d1dad96fa10b0343d3e4f0cc9.zip gcc-5854680c2ce7745d1dad96fa10b0343d3e4f0cc9.tar.gz gcc-5854680c2ce7745d1dad96fa10b0343d3e4f0cc9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/vax/vax.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b2413d1..4beb748 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 6fffc83..36df447 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -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. */ |