diff options
author | Jakub Jelinek <jj@ultra.linux.cz> | 1999-08-03 01:17:06 +0200 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-08-02 16:17:06 -0700 |
commit | 7d473569a2ed06c37387b27bb8ca9dbd8d398646 (patch) | |
tree | 7a67b77ab73f97ff628e4f1a4e684f4e27bea700 /gcc/expr.h | |
parent | e438e1b788a2877778e1592d914e6285964faac4 (diff) | |
download | gcc-7d473569a2ed06c37387b27bb8ca9dbd8d398646.zip gcc-7d473569a2ed06c37387b27bb8ca9dbd8d398646.tar.gz gcc-7d473569a2ed06c37387b27bb8ca9dbd8d398646.tar.bz2 |
Jakub Jelinek <jj@ultra.linux.cz>
* c-decl.c (get_parm_info, store_parm_decls): Change all uses of
PROMOTE_PROTOTYPES, so that it tests it as a C expression.
Ensure expr.h is included.
* c-typecheck.c (convert_arguments): Ditto.
* expr.h: Supply default for PROMOTE_PROTOTYPES (0).
From-SVN: r28420
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -251,6 +251,11 @@ enum direction {none, upward, downward}; /* Value has this type. */ #define PRETEND_OUTGOING_VARARGS_NAMED 0 #endif +/* Supply a default definition for PROMOTE_PROTOTYPES. */ +#ifndef PROMOTE_PROTOTYPES +#define PROMOTE_PROTOTYPES 0 +#endif + /* Nonzero if we do not know how to pass TYPE solely in registers. We cannot do so in the following cases: |