Simon Martin a9a81e7d6a re PR c++/26698 (g++ accepts const-incorrect code due to conversion function)
gcc/cp/

2007-10-12  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/26698
	* call.c (build_user_type_conversion_1): Do not consider conversion
	functions to convert a (possibly cv-qualified) object to the (possibly
	cv-qualified) same object type (or a reference to it), to a (possibly
	cv-qualified) base class of that type (or a reference to it).

gcc/testsuite/

2007-10-12  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/26698
	* g++.dg/conversion/op4.C: New test.

From-SVN: r129274
2007-10-12 18:43:33 +00:00
2007-10-10 14:18:12 +01:00
2007-09-04 17:52:45 +00:00
2007-10-04 15:59:54 +00:00
2007-09-28 15:22:18 +02:00
2007-07-27 00:16:35 +00:00
2007-07-17 08:37:53 +00:00
2007-07-17 08:37:53 +00:00
2007-07-05 10:36:59 -07:00
2007-05-31 06:40:42 +00:00
2007-05-24 16:37:27 +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.
Description
No description provided
Readme 2.1 GiB
Languages
C++ 31.9%
C 31.3%
Ada 12%
D 6.5%
Go 6.4%
Other 11.5%