Jason Merrill 37a7519a24 Fix lookup of initialized captures in unevaluated context.
* cp-tree.h (DECL_NORMAL_CAPTURE_P): New.
	* name-lookup.c (qualify_lookup): Check it.
	* parser.c (cp_parser_lambda_introducer): Pass explicit_init_p
	to add_capture.
	* semantics.c (add_capture): Set DECL_NORMAL_CAPTURE_P
	on captures without explicit init.
	(add_default_capture): Pass explicit_init_p.

	Fix capture by copy of types with explicit copy constructor.
	* cp-tree.h (TARGET_EXPR_DIRECT_INIT_P): New.
	(DIRECT_INIT_EXPR_P): New.
	* typeck.c (convert_for_initialization): Just return if
	DIRECT_INIT_EXPR_P.
	* parser.c (cp_parser_lambda_introducer): Use
	TARGET_EXPR_DIRECT_INIT_P for normal captures.

From-SVN: r152500
2009-10-06 18:14:01 -04:00
2009-10-03 17:10:11 -04:00
2009-10-06 19:27:01 +00:00
2009-08-24 19:08:51 +00:00
2009-08-24 19:08:51 +00:00
2009-08-24 19:08:51 +00:00
2009-08-24 19:08:51 +00:00
2009-10-05 18:04:44 +00:00
2009-10-03 17:10:11 -04:00
2009-08-24 19:08:51 +00:00
2009-10-03 17:10:11 -04:00
2009-10-03 17:10:11 -04:00
2007-07-17 08:37:53 +00:00
2007-07-17 08:37:53 +00:00
2008-09-26 16:21:02 +00:00
2009-10-03 17:10:11 -04:00
2009-10-03 17:10:11 -04:00
2009-10-03 17:10:11 -04:00
2005-11-21 13:21:37 +11: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.
Description
No description provided
Readme 3.1 GiB
Languages
C 48%
Ada 18.3%
C++ 14.1%
Go 7%
GCC Machine Description 4.6%
Other 7.7%