diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-29 17:16:46 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-29 17:16:46 +0000 |
commit | 5485b95993fb050b72cda916567017a2e3698373 (patch) | |
tree | 42ccc636ef21cba0db86051f05076ac6b24aa628 /gcc/c-common.h | |
parent | 02c52e944f67987d3e2a506e9e3e9c60282db7ae (diff) | |
download | gcc-5485b95993fb050b72cda916567017a2e3698373.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index be38a60e54d..dc5da719c9b 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -746,7 +746,6 @@ extern tree shorten_binary_op (tree result_type, tree op0, tree op1, bool bitwis extern tree shorten_compare (tree *, tree *, tree *, enum tree_code *); extern tree pointer_int_sum (enum tree_code, tree, tree); -extern unsigned int min_precision (tree, int); /* Add qualifiers to a type, in the fashion for C. */ extern tree c_build_qualified_type (tree, int); |