Go to file
Douglas Gregor 9b7dd5e868 decl.c (redeclaration_error_message): Complain when redeclaring a friend function with default template arguments...
2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>

	* decl.c (redeclaration_error_message): Complain when redeclaring
	a friend function with default template arguments (C++0x mode only).
	* cp-tree.h (check_default_tmpl_args): Declare.
	* pt.c (check_default_tmpl_args): In C++0x mode, permit default
	template arguments in function templates. Add support for checking
	the default template arguments of friend templates.
	(push_template_decl_real): Fix call to check_default_tmpl_args.
	(type_unification_real): If a template parameter has not been
	deduced but provides a default template argument, substitute into
	that default template argument.
	* parser.c (cp_parser_init_declarator): When declaring (but not
	defining!) a function template in C++0x mode, check for default
	template arguments.

2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>

	* g++.dg/cpp0x/temp_default1.C: New.
	* g++.dg/cpp0x/temp_default3.C: New.
	* g++.dg/cpp0x/temp_default2.C: New.
	* g++.dg/cpp0x/temp_default4.C: New.

From-SVN: r123300
2007-03-28 14:05:29 +00:00
boehm-gc
config acx.m4 (ACX_BUGURL): Set BUGURL first. 2007-03-26 08:37:47 -07:00
contrib
fixincludes inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES if __extern_inline or __GNUC_GNU_INLINE__ is... 2007-03-26 15:25:26 +02:00
gcc decl.c (redeclaration_error_message): Complain when redeclaring a friend function with default template arguments... 2007-03-28 14:05:29 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber Add BID decimal support 2007-03-24 17:04:47 +00:00
libffi
libgcc Add BID decimal support 2007-03-24 17:04:47 +00:00
libgfortran re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF) 2007-03-28 00:19:39 +00:00
libgomp
libiberty
libjava sources.am, [...]: Rebuilt. 2007-03-28 02:01:01 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 fstream.tcc (basic_filebuf<>::underflow): Don't call codecvt::in at all if _M_ext_next >= _M_ext_end. 2007-03-27 15:51:41 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Revert accidental commit. 2007-03-26 18:50:13 -04:00
configure.ac
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
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.