aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-07 21:51:16 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-07 21:51:16 -0700
commitc530479e15d804667c83dfb738ce9cae035de9f2 (patch)
treecc01394964ac75996779fc8fc5ebdb1781aeb69c /gcc/cppexp.c
parent472236af04ca7daa01b6b5b1a00dafaf91d31f1f (diff)
downloadgcc-c530479e15d804667c83dfb738ce9cae035de9f2.zip
gcc-c530479e15d804667c83dfb738ce9cae035de9f2.tar.gz
gcc-c530479e15d804667c83dfb738ce9cae035de9f2.tar.bz2
c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
* c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to. (self_promoting_type_p): Delete. (self_promoting_args_p): Move ... * c-common.c: ... here. (c_common_nodes_and_builtins): Initialize lang_type_promotes_to. (simple_type_promotes_to): New. * builtins.c (lang_type_promotes_to): New. (expand_builtin_va_arg): Use it to give diagnostic for illegal types. * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ... * c-common.h: ... here. (self_promoting_args_p, simple_type_promotes_to): Declare. * c-decl.c (duplicate_decls): Use simple_type_promotes_to. (grokdeclarator): Likewise. * tree.h (lang_type_promotes_to): Declare. * cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Delete. * typeck.c (self_promoting_args_p): Delete. * gcc.dg/va-arg-1.c: New. From-SVN: r29180
Diffstat (limited to 'gcc/cppexp.c')
0 files changed, 0 insertions, 0 deletions