(last_function_parm_others, current_function_parms) (current_function_parm_tags, current_function_parm_others): Delete. (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS): New macros. (grokdeclarator): For function definitions, save the arg-info block from the declarator in DECL_ARGUMENTS. (grokparms): Do not write to last_function_parm*. Use ARG_INFO_* macros to operate on arg-info block. Can assume ARG_INFO_PARMS contains only PARM_DECLs. Improve diagnostics. (get_parm_info): Use ARG_INFO_* macros. Improve comments and diagnostics. Disable some expensive checks if not ENABLE_CHECKING. (store_parm_decls_newstyle): Take the function to operate on, and an arg-info block, as arguments; don't get anything from current_function_* globals. (store_parm_decls_oldstyle): Likewise. (store_parm_decls): Pass fndecl and its arg-info block down to store_parm_decls_newstyle/oldstyle. Send functions with empty argument lists through store_parm_decls_newstyle to reduce overhead. (pushdecl): Comment on the problems with the call to copy_node. Clear DECL_ARGUMENTS of the old node after copying it, if it is an arg-info block instead of a chain of decls. (start_function): Do not manipulate current_function_parm* or last_function_parm*. * testsuite/gcc.dg/noncompile/incomplete-2.c: Move dg-error to proper line. From-SVN: r79206
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fastjar | Loading commit data... | |
gcc | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libf2c | Loading commit data... | |
libffi | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libobjc | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
.cvsignore | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
README.SCO | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.if | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
install-sh | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltcf-c.sh | Loading commit data... | |
ltcf-cxx.sh | Loading commit data... | |
ltcf-gcj.sh | Loading commit data... | |
ltconfig | Loading commit data... | |
ltmain.sh | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |