Go to file
Douglas Gregor 4439d02f0f re PR c++/34051 (ICE in dependent_type_p with variadic templates)
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/34051
	PR c++/34055
	PR c++/34102
	PR c++/34103
	* typeck.c (check_return_expr): If there are bare parameter packs
	in the return value, set it to error_mark_node.
	* tree.c (cp_walk_subtrees): Walk USING_DECL nodes.
	* pt.c (find_parameter_packs_r): Look at the type of
	IDENTIFIER_NODEs (e.g., for user-defined conversions).
	(check_for_bare_parameter_packs): Flip the result: now returns
	TRUE when there were bare parameter packs, FALSE otherwise.
	(push_template_decl_real): Deal with flipped result of
	check_for_bare_parameter_packs.
	* semantics.c (finish_cond): If there are bare parameter packs in
	the conditional, set it to error_mark_node.
	(finish_expr_stmt): If there are bare parameter packs in the
	expression, set it to error_mark_node.
	(finish_for_expr): Ditto.
	(finish_switch_cond): If there are bare parameter packs in
	the conditional, set it to error_mark_node.
	(finish_mem_initializers): If there are bare parameter packs in
	the member initializer, set it to error_mark_node.
	(finish_member_declaration): Check the attributes of the
	declaration for bare parameter packs, and remove the attributes if
	any have bare parameter packs.
	* parser.c (cp_parser_using_declaration): Check the using
	declaration for bare parameter packs.
	(cp_parser_base_clause): If there are bare parameter packs in a
	base specifier, don't add it to the chain.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/34051
	PR c++/34055
	PR c++/34102
	PR c++/34103
	* g++.dg/cpp0x/vt-34051-2.C: New.
	* g++.dg/cpp0x/vt-34102.C: New.
	* g++.dg/cpp0x/vt-34051.C: New.
	* g++.dg/cpp0x/vt-34055.C: New.
	* g++.dg/cpp0x/vt-34103.C: New.

From-SVN: r131547
2008-01-15 18:08:00 +00:00
boehm-gc
config configure.ac (--enable-linux-futex): Add new configure option. 2008-01-08 17:14:49 +01:00
contrib
fixincludes
gcc re PR c++/34051 (ICE in dependent_type_p with variadic templates) 2008-01-15 18:08:00 +00:00
gnattools
include
INSTALL
intl
libada
libcpp re PR preprocessor/30363 (Support for -traditional-cpp is incomplete in current gcc relative to gcc 2.95.3) 2008-01-07 17:23:40 +00:00
libdecnumber
libffi
libgcc
libgfortran re PR libfortran/34746 (wrong formats in libgfortran's runtime_error) 2008-01-13 22:13:52 +00:00
libgomp configure.ac (--enable-linux-futex): Add new configure option. 2008-01-08 17:14:49 +01:00
libiberty
libjava
libmudflap
libobjc
libssp
libstdc++-v3 list_partition.h: Formatting fixes, inline tweaks. 2008-01-15 02:06:31 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2008-01-09 19:48:42 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2008-01-08 10:24:49 +11:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2008-01-08 10:24:49 +11:00
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2008-01-09 19:48:42 +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.