Go to file
Nathan Sidwell db24eb1f4f re PR c++/18803 (rejects access to operator() in template)
cp:
	PR c++/18803
	* cp-tree.h (REFERENCE_REF_P): New.
	(CPTI_TYPE_INFO_TYPE): Rename to ...
	(CPTI_CONST_TYPE_INFO_TYPE): ... here.
	(CPTI_TYPE_INFO_REF_TYPE): Remove.
	(type_info_type_node): Rename to ...
	(const_type_info_type_node): ... here.
	(type_info_ref_type): Remove.
	* call.c (build_user_type_conversion): Reformat.
	(resolve_args): Do not convert_from_reference.
	(build_object_call): Call convert_from_reference.
	(prep_operand): Do not convert_from_reference.
	(build_new_method_call): Likewise.
	* class.c (build_vfield_ref): Likewise.
	* cvt.c (convert_to_reference): Likewise.
	(convert_from_reference): Build INDIRECT_REF here, not with
	build_indirect_ref.
	(convert_force): Do not convert_from_reference.
	(build_expr_type_conversion): Likewise.
	* decl.c (grok_reference_init): Likewise.
	* decl2.c (delete_sanity): Likewise.
	* except.c (initialize_handler_parm): Use POINTER_TYPE_P.
	* init.c (build_dtor_call): Do not convert_from_reference.
	* parser.c (cp_parser_template_argument): Unwrap indirected
	reference. Allow TEMPLATE_PARM_INDEX as an object parm.
	* pt.c (tsubst_copy_and_build) <case INDIRECT_REF>: Use
	convert_from_reference, if indicated.
	<case CALL_EXPR>: Do not convert_from_reference.
	<case PARM_DECL, VAR_DECL>: Convert_from_reference if needed.
	(tsubst_initializer_list): Do not convert_from_reference.
	* rtti.c (init_rtti_processing): Adjust node creation.
	(throw_bad_typeid): Use const_type_info_type_node.
	Do not convert_from_reference.
	(typeid_ok_p): Use const_type_info_type_node.
	(build_typeid, get_typeid): Always return type_info typed node.
	(build_dynamic_cast_1): Dont convert_from_reference. Refactor.
	* semantics.c (finish_stmt_expr_expr): Do not
	convert_from_reference.
	(finish_id_expression): Convert_from_reference as appropriate.
	* typeck.c (decay_conversion): Do not convert_from_reference.
	(finish_class_member_access_expr): Likewise.
	(build_indirect_ref): Use POINTER_TYPE_P.
	(convert_arguments): Do not convert_from_reference.
	(build_modify_expr): Likewise.
	(convert_for_initialization): Likewise.
	* typeck2.c (build_x_arrow): Likewise.
testsuite:
	PR c++/18803
	* g++.dg/template/operator5.C: New.

From-SVN: r91863
2004-12-08 08:36:09 +00:00
boehm-gc re PR libgcj/18699 (SIGSEGV in GC_local_gcj_malloc) 2004-11-30 00:38:57 +00:00
config Introduce config/gxx-include-dir.m4. 2004-12-03 10:44:37 +00:00
contrib gcc_update (touch_files): Don't rely on "make" being GNU make... 2004-11-20 10:49:16 +00:00
fastjar Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
fixincludes Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
gcc re PR c++/18803 (rejects access to operator() in template) 2004-12-08 08:36:09 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
INSTALL
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada
libcpp * tr.po: Update. 2004-12-04 11:38:37 +00:00
libffi Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
libgfortran Makefile.am (AM_MAKEFLAGS): New. 2004-12-08 00:43:34 +00:00
libiberty splay-tree.c (splay_tree_delete_helper): Redesign the logic so that recursion (and thus large stack space) is not needed. 2004-12-07 15:01:17 -05:00
libjava IdentityHashMap.java (put): Replace mistaken use of "<<" by "*". 2004-12-08 02:18:32 +00:00
libmudflap Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
libobjc Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
libstdc++-v3 Daily bump. 2004-12-08 00:16:21 +00:00
maintainer-scripts * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots. 2004-09-11 18:53:55 +00:00
zlib Correct my erronous ChangeLog entries. 2004-11-29 23:51:45 +00:00
.cvsignore
ABOUT-NLS
ChangeLog Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped. 2004-12-08 07:22:47 +00:00
ChangeLog.tree-ssa
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN like CC. 2004-11-07 18:37:28 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath
config.sub config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
configure Introduce config/gxx-include-dir.m4. 2004-12-03 10:44:37 +00:00
configure.in Introduce config/gxx-include-dir.m4. 2004-12-03 10:44:37 +00:00
COPYING
COPYING.LIB
depcomp
install-sh install-sh, compile: Import from automake. 2004-11-16 01:04:30 +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): Update my e-mail address. 2004-11-30 03:06:52 +00:00
Makefile.def Makefile.def: Add html support. 2004-11-13 07:32:48 +00:00
Makefile.in Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped. 2004-12-08 07:22:47 +00:00
Makefile.tpl Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped. 2004-12-08 07:22:47 +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.