Go to file
Manuel López-Ibáñez 07231d4f83 invoke.texi (-Wconversion): Document warnings specific to C++.
2007-03-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	* doc/invoke.texi (-Wconversion): Document warnings specific to C++.
	* c-common.c (convert_and_check): Move warning logic to...
	(warnings_for_convert_and_check): ...here. Define.
	* c-common.h (warnings_for_convert_and_check): Declare.
cp/
	* cvt.c (cp_convert_and_check) : Define.
	* cp-tree.h (cp_convert_and_check): Declare.
	* call.c (convert_conversion_warnings): Rename to
	conversion_null_warnings.  The warning for floating-point to
	integer is handled by convert_and_check in convert_like_real.
	(convert_like_real): convert_conversion_warnings was renamed as
	conversion_null_warnings.
	* typeck.c (build_binary_op): Use cp_convert_and_check to warn for
	overflow and changes of value during conversion.
testsuite/
	* g++.dg/warn/Wconversion-integer.C: New
	* g++.dg/warn/Wconversion-real.C: New.
	* g++.dg/warn/Wconversion-real-integer.C: New.
	* g++.dg/warn/conv2.C: Updated.

From-SVN: r123005
2007-03-16 23:32:12 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc ffi.h.in (ffi_closure_alloc, [...]): New. 2007-03-07 07:27:25 +00:00
config configure: Regenerate. 2007-03-07 14:01:40 +00:00
contrib * test_installed: Adjust to the move from g77 to gfortran. 2007-02-26 20:40:13 +00:00
fixincludes Makefile.in: Add dummy "install-info" target. 2007-03-12 11:58:12 -07:00
gcc invoke.texi (-Wconversion): Document warnings specific to C++. 2007-03-16 23:32:12 +00:00
gnattools * Makefile.in: Add dummy install-pdf target. 2007-03-01 15:55:34 -08:00
include errors.h (warning, [...]): Mark as cold. 2007-03-06 18:57:27 +00:00
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp * cpplib.pot: Regenerate. 2007-03-07 18:01:18 +00:00
libdecnumber decContext.c, [...]: Add libgcc-style license exception clause. 2007-03-09 09:23:15 +11:00
libffi ffi.c (flush_icache): Fix left-over from previous patch. 2007-03-08 11:06:41 +00:00
libgcc * Makefile.in (install-info): New dummy target. 2007-03-11 23:13:30 -07:00
libgfortran * runtime/main.c: Include "config.h" first. 2007-03-16 11:50:19 -04:00
libgomp Makefile.am: Add install-pdf target as copied from automake v1.10 rules. 2007-03-01 16:03:11 -08:00
libiberty cp-demangle.c (d_encoding): Exit early on error. 2007-03-16 01:07:52 +00:00
libjava * tools/gnu/classpath/tools/javah/JniStubPrinter.java 2007-03-16 22:48:27 +00:00
libmudflap pass59-frag.c (main): Fix casting of arg. 2007-03-14 08:53:32 +01:00
libobjc * Makefile.in: Add dummy install-pdf target. 2007-03-01 15:58:28 -08:00
libssp Makefile.am: Add dummy install-pdf target. 2007-03-01 15:50:30 -08:00
libstdc++-v3 types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
maintainer-scripts * update_version_svn (IGNORE_BRANCHES): Add 4_0-branch. 2007-02-25 21:14:02 +00:00
zlib Makefile.am: Add dummy install-pdf target. 2007-03-01 16:00:52 -08:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
ChangeLog Fixed erroneous ChangeLog and gcc/ChangeLog entries. 2007-03-12 12:00:28 -07:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
MAINTAINERS Undo deleting Matt, and update his address. 2007-03-05 20:15:52 +00:00
Makefile.def Makefile.in: Add dummy "install-info" target. 2007-03-12 11:58:12 -07:00
Makefile.in Makefile.in: Add dummy "install-info" target. 2007-03-12 11:58:12 -07:00
Makefile.tpl configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable. 2007-03-01 16:28:09 -08:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
compile COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config-ml.in config-ml.in: Alter CCASFLAGS to include special multilib options the same as is done for CFLAGS. 2006-06-13 16:48:23 -04:00
config.guess config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub config.sub: Sync with src. 2007-02-09 16:31:28 +00:00
configure configure: Regenerate. 2007-03-07 14:01:40 +00:00
configure.ac configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable. 2007-03-01 16:28:09 -08:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-c.sh ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin. 2005-11-18 23:53:08 +01:00
ltcf-cxx.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-gcj.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltconfig * ltconfig (freebsd*): Default to elf. 2007-02-14 13:19:26 +00:00
ltmain.sh Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names... 2006-07-06 23:24:51 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

README

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.