Go to file
Manuel López-Ibáñez 59c0753dd3 re PR c/19978 (overflow in expression of constants should not cause multiple warnings)
2007-01-05  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c/19978
	* tree.h (TREE_OVERFLOW_P): New.
	* c-typeck.c (parser_build_unary_op): Warn only if result
	overflowed and operands did not.
	(parser_build_binary_op): Likewise.
	(convert_for_assignment): Remove redundant overflow_warning.
	* c-common.c (overflow_warning): Don't check or set TREE_OVERFLOW.

cp/
	* semantics.c (finish_unary_op_expr): Warn only if result
	overflowed and operands did not.

testsuite/
	* gcc.dg/multiple-overflow-warn-1.c: New.
	* gcc.dg/multiple-overflow-warn-2.c: New.
	* gcc.dg/overflow-warn-6.c: New.
	* g++.dg/warn/multiple-overflow-warn-1.C: New.

From-SVN: r120505
2007-01-05 21:57:01 +00:00
INSTALL
boehm-gc configure.ac: Fix x86 darwin builds. 2006-12-08 23:54:21 +00:00
config configure.ac: Remove support for building with Apple's gcc-3.1. 2007-01-02 03:35:17 +00:00
contrib
fixincludes mkfixinc.sh: Add "*-*-vxworks*" to the list of targets for which a no-op fixer is appropriate. 2006-12-12 09:47:45 +00:00
gcc re PR c/19978 (overflow in expression of constants should not cause multiple warnings) 2007-01-05 21:57:01 +00:00
gnattools
include * ansidecl.h (ATTRIBUTE_PACKED): Define. 2006-12-06 18:08:51 +00:00
intl
libada re PR ada/29802 (wrong directory in makefile for ada and libada when srcdir=.) 2006-11-17 10:31:47 +00:00
libcpp re PR preprocessor/28165 (_Pragma GCC system_header broken) 2007-01-04 15:32:26 +00:00
libdecnumber decRound.c: Move declarations to new file, update comments. 2006-11-29 18:34:56 +00:00
libffi configure.ac: Add TARGET for x86_64-*-darwin*. 2006-12-14 08:34:45 +01:00
libgcc * Makefile.in (install): Handle multilibs. 2007-01-05 18:51:05 +00:00
libgfortran Rotate ChangeLog 2007-01-01 19:17:50 +00:00
libgomp re PR libgomp/28209 (None of the GOMP_* environment variables are documented) 2006-12-21 17:29:08 -05:00
libiberty cp-demangle.h: Add comment explaining what to do to avoid overrunning string. 2006-12-21 01:29:27 +00:00
libjava configure.ac: add $built_gcc_dir to $GCJH and $GCJ when crossbuilding. 2006-12-21 18:07:33 +00:00
libmudflap tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static linking doesn't even work. 2006-12-04 11:10:38 +00:00
libobjc
libssp Index: config/ChangeLog 2006-10-15 07:42:57 +00:00
libstdc++-v3 Revert revision 120457. 2007-01-05 11:03:35 +11:00
maintainer-scripts crontab: Spread snapshots more evenly throughout the week, and in "ascending" order. 2007-01-05 08:34:18 +00:00
zlib
ABOUT-NLS
COPYING
COPYING.LIB
ChangeLog Makefile.tpl (all-target): Correct @if conditional for target modules. 2007-01-05 19:29:29 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS: Add myself as build system maintainer. 2006-12-19 10:59:36 +00:00
Makefile.def Makefile.def (target_modules): Add libgcc. 2007-01-04 04:22:37 +00:00
Makefile.in Makefile.tpl (all-target): Correct @if conditional for target modules. 2007-01-05 19:29:29 +00:00
Makefile.tpl Makefile.tpl (all-target): Correct @if conditional for target modules. 2007-01-05 19:29:29 +00:00
README
README.SCO
compile
config-ml.in
config.guess config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
config.rpath
config.sub config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
configure Makefile.tpl (all-target): Correct @if conditional for target modules. 2007-01-05 19:29:29 +00:00
configure.in Makefile.tpl (all-target): Correct @if conditional for target modules. 2007-01-05 19:29:29 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

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.