Go to file
Manuel López-Ibáñez 7060db96db invoke.texi (Warning Options): Add -Wconversion-sign.
2007-05-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	* doc/invoke.texi (Warning Options): Add -Wconversion-sign.
	(Wconversion): Update description.
	(Wconversion-sign): New.
	* c.opt (Wconversion-sign): New.
	* c-opts.c (c_common_post_options): Uninitialized Wconversion-sign
	means disabled for C++. Otherwise, take the status of Wconversion.
	* c-common.c (conversion_warning): Warn with either Wconversion or
	Wconversion-sign.
	(warnings_for_convert_and_check): Conditions are already checked by
	conversion_warning.
	(convert_and_check): Don't check warnings if the conversion failed.

cp/
	* cvt.c (cp_convert_and_check): Don't check warnings if the
	conversion failed.

testsuite/
	* gcc.dg/Wconversion-integer.c: Group testcases and add more.
	* gcc.dg/Wconversion-sign.c: New.
	* gcc.dg/Wconversion-integer-no-sign.c: New.
	* g++.dg/warn/Wconversion-integer.C: Move some warnings to
	Wconversion-sign.C
	* g++.dg/warn/Wconversion-sign.C: New.
	* g++.old-deja/g++.other/warn4.C: Update.
	* g++.dg/warn/Wconversion1.C: Likewise.

From-SVN: r124856
2007-05-19 13:32:03 +00:00
boehm-gc
config
contrib * gennews (files): Reference GCC 4.2 web pages. 2007-05-14 00:33:48 +00:00
fixincludes
gcc invoke.texi (Warning Options): Add -Wconversion-sign. 2007-05-19 13:32:03 +00:00
gnattools
include
INSTALL
intl
libada
libcpp expr.c (cpp_classify_number): Warn about dfp constant for -pedantic. 2007-05-14 23:45:40 +00:00
libdecnumber
libffi
libgcc
libgfortran re PR fortran/31964 ([4.2, 4.1 only]ishftc fails with certain thrid argument) 2007-05-19 01:04:03 +00:00
libgomp
libiberty
libjava 2007-05-17 Kyle Galloway <kgallowa@redhat.com> 2007-05-17 19:08:02 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 c_locale.h: Do not include <libintl.h>. 2007-05-17 16:10:10 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. 2007-05-16 09:01:01 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS MAINTAINERS: Update e-mail address. 2007-05-15 21:57:30 -04:00
Makefile.def Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. 2007-05-16 09:01:01 +00:00
Makefile.in Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. 2007-05-16 09:01:01 +00:00
Makefile.tpl Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. 2007-05-16 09:01:01 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

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.