Go to file
Joseph Myers 46df282378 c-common.c (fix_string_type): Just use c_build_qualified_type to build string type.
* c-common.c (fix_string_type): Just use c_build_qualified_type to
	build string type.
	(c_build_qualified_type): Build qualified array types with
	TYPE_MAIN_VARIANT pointing to corresponding unqualified type.
	* c-decl.c (c_make_fname_decl): Build unqualified array type
	before qualified type.
	(grokdeclarator): Use TYPE_MAIN_VARIANT of typedef type if element
	type is qualified, not just if type itself is.  Don't apply
	qualifiers to array type when declarator is processed.  Apply
	qualifiers to field type whether or not it is an array type.
	Don't handle array types specially for applying qualifiers to
	variables.
	* c-typeck.c (composite_type): Build unqualified element type and
	array type when forming composite of array types.
	(common_pointer_type, comptypes, comp_target_types,
	type_lists_compatible_p, build_indirect_ref, build_array_ref,
	convert_for_assignment): Don't apply TYPE_MAIN_VARIANT to array
	types.
	(type_lists_compatible_p): Cache TREE_VALUE (args1) and TREE_VALUE
	(args2) in variables a1 and a2.

testsuite:
	* gcc.dg/Wwrite-strings-1.c, gcc.dg/array-quals-2.c,
	gcc.dg/lvalue-3.c: New tests.
	* gcc.dg/concat.c: Update expected messages.

From-SVN: r94411
2005-01-29 16:12:45 +00:00
boehm-gc
config re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) 2005-01-23 19:22:01 +00:00
contrib
fastjar
fixincludes
gcc c-common.c (fix_string_type): Just use c_build_qualified_type to build string type. 2005-01-29 16:12:45 +00:00
include
INSTALL
intl
libada
libcpp re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) 2005-01-23 19:22:01 +00:00
libffi
libgfortran re PR libfortran/19595 ([4.0 only] eor does not work) 2005-01-29 15:45:17 +00:00
libiberty
libjava re PR libgcj/19649 (java.util.Date.getTimezoneOffset returns negated output) 2005-01-29 00:43:50 +00:00
libmudflap
libobjc
libstdc++-v3 Daily bump. 2005-01-29 00:16:44 +00:00
maintainer-scripts
zlib
.cvsignore
ABOUT-NLS
ChangeLog configure.in (noconfigdirs): Match like cris-*-*. 2005-01-29 04:22:08 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.in (noconfigdirs): Match like cris-*-*. 2005-01-29 04:22:08 +00:00
configure.in configure.in (noconfigdirs): Match like cris-*-*. 2005-01-29 04:22:08 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS (Write After Approval): Add Michael Matz. 2005-01-23 11:22:25 +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.