Go to file
Douglas Gregor 9804209d32 re PR c++/19076 (Pointer to member function not matched to pointer to member template)
2005-02-21  Douglas Gregor  <dgregor@cs.indiana.edu>

	PR c++/19076
	PR c++/6628
	* cp-tree.h (cp_apply_type_quals_to_decl): Declared.
	* decl.c (grokdeclarator): Pedwarn about qualifying a function
	type.
	Add qualifiers when declaring a typedef of a function type.
	Member function pointers pick up the qualifiers of the typedef
	used to declare them.
        Don't complain about creating cv-qualified function types.
	Complain about qualified function typedefs that are used to
	declare non-static member functions or free functions.
	Use cp_apply_type_quals_to_decl.
	(start_preparsed_function): Use cp_apply_type_quals_to_decl.
	(grokclassfn): Use cp_apply_type_quals_to_decl.
	* error.c (dump_type_suffix): Print qualifiers for function
	types.
	* pt.c (tsubst_decl): Use cp_apply_type_quals_to_decl.
	(tsubst): When substituting a function type into a member
	pointer type, pass along the qualifiers.
	(unify): Unify member pointers to member function pointers.
	* tree.c (cp_build_qualified_type_real): Function types may be
	qualified. This includes restrict qualifiers.
	* typeck.c (cp_apply_type_quals_to_decl): New function to replace
	use of c_apply_type_quals_to_decl. Drops qualifiers that are being
	added to function types.

From-SVN: r95356
2005-02-21 23:12:27 +00:00
boehm-gc re PR libgcj/19823 (java fails with non-executable memory) 2005-02-16 04:10:42 +00:00
config re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) 2005-01-23 19:22:01 +00:00
contrib * reg_periodic, reg_search: Fix the uses of date command. 2005-01-18 02:04:51 +00:00
fastjar Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
fixincludes re PR bootstrap/18458 ("make install" -> fixincl missing extension) 2004-12-13 07:42:10 -08:00
gcc re PR c++/19076 (Pointer to member function not matched to pointer to member template) 2005-02-21 23:12:27 +00:00
include re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
INSTALL
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada
libcpp re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets) 2005-02-20 17:01:32 +00:00
libffi cls_align_longdouble.c: Remove dg-options. 2005-02-11 22:33:16 +00:00
libgfortran re PR libfortran/19302 (intrinsic_nearest.f90 fails) 2005-02-21 21:39:33 +00:00
libiberty cp-demangle.c (__cxa_demangle): Change resolution of ambiguous arguments. 2005-02-13 01:58:20 -05:00
libjava 2005-02-21 Robert Schuster <theBohemian@gmx.net> 2005-02-21 22:40:35 +00:00
libmudflap * typo fix 2005-02-13 12:58:28 +00:00
libobjc change the changelog entry to: 2004-12-20 14:35:07 -08:00
libstdc++-v3 Daily bump. 2005-02-21 00:16:24 +00:00
maintainer-scripts update_version (ADD_BRANCHES): Replace lno-branch with autovect-branch. 2004-12-31 00:11:08 +00:00
zlib Revert bad import 2005-02-02 22:09:16 +00:00
.cvsignore
ABOUT-NLS
ChangeLog re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
ChangeLog.tree-ssa
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath
config.sub install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
configure re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
configure.in re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
COPYING
COPYING.LIB
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. 2004-11-29 23:45:23 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2005-02-19 17:29:42 +00:00
Makefile.def re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
Makefile.in re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
Makefile.tpl re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
symlink-tree
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

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.