Go to file
Mike Stump 52ffd86eb6 Fix up vla, vm and [*] sematics.
PR c/18740
	PR c/7948
	PR c/25802
	* c-tree.h (struct c_arg_info): Add had_vla_unspec.
	(c_vla_unspec_p): Add.
	(c_vla_type_p): Add.
	* c-decl.c (struct c_scope): Add had_vla_unspec.
	(build_array_declarator): Add support for [*].
	(grokdeclarator): Likewise.
	(grokparms): Likewise.
	(get_parm_info): Likewise.
	* c-objc-common.c (c_vla_unspec_p): Likewise.
	* c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
	* c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
	typeof when argument is a variably modified type not inside sizeof or alignof.
	(c_parser_direct_declarator_inner): Propagate errors.
	(c_parser_sizeof_expression): Add support for [*].
	* c-typeck.c (c_vla_type_p): Add.
	(composite_type): Add support for vla compositing.
	(comptypes_internal): Add support for vla compatibility.
	(c_expr_sizeof_expr): Evaluate vla arguments.
	* tree.c (variably_modified_type_p): Update comment for [*].

testsuite:
	* gcc.dg/c90-arraydecl-1.c: Update for vla, vm [*] fixups.
	* gcc.dg/vla-4.c: Add.
	* gcc.dg/vla-5.c: Add.
	* gcc.dg/vla-6.c: Add.

From-SVN: r113888
2006-05-18 18:22:12 +00:00
boehm-gc
config
contrib
fixincludes configure.ac: Add -Wno-overlength-strings. 2006-05-17 00:31:31 +00:00
gcc Fix up vla, vm and [*] sematics. 2006-05-18 18:22:12 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc-math
libgfortran re PR libfortran/27575 (gfortran - does not generate error when trying to read too much data) 2006-05-17 00:36:53 +00:00
libgomp re PR middle-end/27416 (ICE on invalid firstprivate/lastprivate) 2006-05-15 11:59:30 +02:00
libiberty cplus-dem.c (demangle_fund_type): Ensure buf is large enough to hold "int%u_t". 2006-05-12 15:44:29 -04:00
libjava Imported GNU Classpath 0.90 2006-05-18 17:29:21 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 cxxabi.h (class __vmi_class_type_info): Correct typo in comment. 2006-05-18 08:12:40 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog add self to MAINTAINERS 2006-05-13 14:46:39 -04:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.in
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS Added myself (Mark Shinwell) to MAINTAINERS. 2006-05-18 11:51:08 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.