Go to file
Mark Mitchell 33c25e5c5a call.c (struct conversion): Add base_p.
* call.c (struct conversion): Add base_p.
	(convert_like): Add c_cast_p argument.
	(convert_like_with_conversion): Likewise.
	(build_conv): Clear base_p.
	(standard_conversion): Set it, for derived-to-base conversions.
	(convert_like_real): Add c_cast_p parameter.  Handle pointer
	conversions directly rather than relying on ocp_convert.
	(perform_direct_initialization_if_possible): Add c_cast_p
	parameter.
	* cp-tree.h (perform_direct_initialization_if_possible): Change
	prototype.
	(convert_member_func_to_ptr): New function.
	* typeck.c (check_for_casting_away_constness): Add diag_fn
	parameter.
	(build_static_cast_1): New function, split out from ...
	(build_static_cast): ... here.  Use build_static_cast_1.
	(build_reinterpret_cast_1): New function, split out from ...
	(build_reinterpret_cast): ... here.  Use build_reinterpret_cast_1.
	(build_const_cast_1): New function, split out from ...
	(build_const_cast): ... here.  Use build_const_cast_1.
	(build_c_cast): Rewrite to use build_const_cast_1,
	build_static_cast_1, and build_reinterpret_cast_1.
	(convert_member_func_to_ptr): New function.

	* g++.dg/conversion/reinterpret1.C: Adjust error markers.
	* g++.dg/conversion/const2.C: New test.
	* g++.dg/expr/reinterpret2.C: New test.
	* g++.dg/expr/reinterpret3.C: New test.
	* g++.dg/expr/cast2.C: New test.
	* g++.dg/expr/copy1.C: New test.
	* g++.dg/other/conversion1.C: Change error message.
	* g++.dg/parse/comma1.C: Use __extension__ to allow casts from
	function pointers to void *.
	* g++.old-deja/g++.mike/p10148.C: Likewise.

From-SVN: r89300
2004-10-19 23:24:20 +00:00
boehm-gc gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype. 2004-10-19 17:47:54 +00:00
config warnings.m4: New file. 2004-09-24 21:39:06 +00:00
contrib Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
fastjar jartool.c (extract_jar): Unconditionally read extra data in the entry header... 2004-09-23 23:40:33 +00:00
fixincludes re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined) 2004-10-15 07:58:38 +00:00
gcc call.c (struct conversion): Add base_p. 2004-10-19 23:24:20 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
INSTALL
intl Makefile.in (config.h.in): Correct dependencies. 2004-09-23 03:53:33 +00:00
libada
libcpp errors.c (_cpp_begin_message): Print "error: " for errors. 2004-10-14 01:56:22 +01:00
libffi ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a structure pointed with R2. 2004-10-18 23:12:20 +00:00
libgfortran transfer.c (finalize_transfer): Free internal streams. 2004-10-07 21:30:50 +00:00
libiberty * vasprintf.c: Accept __va_copy in addition to va_copy. 2004-09-08 21:29:42 +00:00
libjava 2004-10-18 Jeroen Frijters <jeroen@frijters.net> 2004-10-18 15:07:04 +00:00
libmudflap configure.ac: Check for more headers, functions. 2004-10-13 18:27:16 +00:00
libobjc archive.c: Fix all the warnings about passing unsigned char* to char* and the other way too. 2004-10-08 07:40:38 -07:00
libstdc++-v3 list_sort_search.cc: Include <ext/new_allocator.h>. 2004-10-19 08:56:32 +00:00
maintainer-scripts * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots. 2004-09-11 18:53:55 +00:00
zlib CRLF fixup 2004-10-19 22:00:48 +00:00
.cvsignore
ABOUT-NLS
ChangeLog MAINTAINERS: Remove from Write After Approval those that are already maintainers. 2004-10-19 13:13:35 +00:00
ChangeLog.tree-ssa
compile config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config-ml.in
config.guess config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config.if
config.rpath
config.sub config.sub: Import latest version from master repository. 2004-09-06 08:52:57 +00:00
configure configure.in (*-*-cygwin*): Supress warning if newlib not present. 2004-10-12 22:49:34 +00:00
configure.in configure.in (*-*-cygwin*): Supress warning if newlib not present. 2004-10-12 22:49:34 +00:00
COPYING
COPYING.LIB
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh config.guess: New upstream version 2004-09-23 01:21:50 +00:00
libtool.m4
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 ltmain.sh: Use $pic_object as $non_pic_object if $non_pic_object=none. 2004-09-08 11:43:46 -04:00
MAINTAINERS MAINTAINERS: Remove from Write After Approval those that are already maintainers. 2004-10-19 13:13:35 +00:00
Makefile.def Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
Makefile.in [multiple changes] 2004-10-06 10:09:29 +00:00
Makefile.tpl [multiple changes] 2004-10-06 10:09:29 +00:00
missing missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep
mkinstalldirs
move-if-change
README
README.SCO
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.