gcc/gcc/cp
Manuel López-Ibáñez cdd6a337c0 re PR middle-end/11492 (Bogus warning with -Wsign-compare)
2008-10-29  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR 11492
	* c-common.c (min_precision): Move to...
	* tree.c (tree_int_cst_min_precision): ... to here. Renamed.
	* tree.h (tree_int_cst_min_precision): Declare.
	* c-common.h (min_precision): Delete declaration.
	* fold-const.c (tree_binary_nonnegative_warnv_p): Handle
	multiplication of non-negative integer constants.
	* c-decl.c (check_bitfield_type_and_width): Rename min_precision to
	tree_int_cst_min_precision.
	(finish_enum): Likewise.
cp/
	* class.c (check_bitfield_decl): Rename min_precision to
	tree_int_cst_min_precision.
	* decl.c (finish_enum): Likewise.
testsuite/
	* gcc.dg/pr11492.c: New.
	* g++.dg/warn/pr11492.C: New.

From-SVN: r141434
2008-10-29 17:16:46 +00:00
..
ChangeLog re PR middle-end/11492 (Bogus warning with -Wsign-compare) 2008-10-29 17:16:46 +00:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog-1999 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog-2000 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog-2006 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog.ptr
ChangeLog.tree-ssa
Make-lang.in dg-extract-results.sh: New file. 2008-10-24 10:58:44 +02:00
NEWS
call.c c-tree.h: Add argument to c_objc_common_truthvalue_conversion, parser_build_binary_op. 2008-09-23 14:55:14 +00:00
cfns.gperf
cfns.h
class.c re PR middle-end/11492 (Bogus warning with -Wsign-compare) 2008-10-29 17:16:46 +00:00
config-lang.in
cp-gimplify.c re PR c++/37819 (ice for bitfield code) 2008-10-14 23:57:44 +02:00
cp-lang.c tree.h (enum tree_code): Include all-tree.def, not tree.def. 2008-06-21 21:17:40 +00:00
cp-objcp-common.c
cp-objcp-common.h c-common.c (c_expand_decl): Remove. 2008-09-09 08:56:58 +00:00
cp-tree.def
cp-tree.h re PR c++/37004 ([C++ only] Wconversion warns for short y = 0x7fff; short z = (short) x & y;) 2008-10-19 22:53:01 +00:00
cvt.c diagnostics.c (permerror_at): Rename as permerror. 2008-08-18 11:17:52 +00:00
cxx-pretty-print.c objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
cxx-pretty-print.h
decl.c re PR middle-end/11492 (Bogus warning with -Wsign-compare) 2008-10-29 17:16:46 +00:00
decl.h re PR c++/37302 (function parameters are declared too late) 2008-09-08 16:52:44 -04:00
decl2.c c-tree.h: Add argument to c_objc_common_truthvalue_conversion, parser_build_binary_op. 2008-09-23 14:55:14 +00:00
dump.c
error.c re PR c++/37719 (incorrect type on warning of mismatched exception specification with templates) 2008-10-03 16:29:07 +00:00
except.c diagnostics.c (permerror_at): Rename as permerror. 2008-08-18 11:17:52 +00:00
expr.c
friend.c diagnostic.c (inform): Add an explicit location_t parameter. 2008-08-20 13:35:00 +00:00
g++spec.c
init.c c-tree.h: Add argument to c_objc_common_truthvalue_conversion, parser_build_binary_op. 2008-09-23 14:55:14 +00:00
lang-specs.h
lex.c re PR c++/37532 (ICE with decimal floating point data types) 2008-09-17 00:03:57 +02:00
mangle.c PR c++/37376, other mangling issues 2008-10-06 18:29:42 -04:00
method.c diagnostic.c (inform): Add an explicit location_t parameter. 2008-08-20 13:35:00 +00:00
name-lookup.c re PR debug/37410 (DW_TAG_imported_module is not in its DW_TAG_lexical_block) 2008-10-05 23:29:32 +02:00
name-lookup.h c-common.c (do_switch_warnings): Look through the CONST_DECLs in the enumerators of an ENUMERAL_TYPE. 2008-08-26 22:33:10 +00:00
operators.def PR c++/37376, other mangling issues 2008-10-06 18:29:42 -04:00
optimize.c optimize.c (maybe_clone_body): Remove DECL_INLINE. 2008-07-29 10:49:30 +00:00
parser.c re PR c++/26997 (g++ reports misleading error message when the identifier with error occurs earlier on the same line) 2008-10-29 16:05:27 +00:00
pt.c re PR c++/37650 (ICE with broken default template parameter) 2008-10-14 17:51:55 +00:00
ptree.c
repo.c re PR c++/36364 (Problem with -frepo) 2008-06-28 00:26:48 +02:00
rtti.c c-tree.h: Add argument to c_objc_common_truthvalue_conversion, parser_build_binary_op. 2008-09-23 14:55:14 +00:00
search.c Implement defaulted/deleted functions as per N2346 2008-07-24 15:15:00 -04:00
semantics.c semantics.c (simplify_aggr_init_exprs_r): Remove. 2008-10-21 10:33:15 +00:00
tree.c rs6000-c.c (altivec_resolve_overloaded_builtin): Handle ALTIVEC_BUILTIN_VEC_SPLATS... 2008-10-01 12:06:58 -07:00
typeck.c re PR c/7543 (no warning for always-false "if (!a & 0x4)" bitwise and on boolean value) 2008-10-24 10:09:06 +00:00
typeck2.c re PR c++/37208 (C++0x deleted functions and SFINAE) 2008-09-03 00:10:27 -04:00