diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-08 03:20:35 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-08 03:20:35 +0000 |
commit | e4d4d9ae14504f986b0ca393bd77b34cfb78acaa (patch) | |
tree | 2fe21d185b6128b532ce398c3d0354ca265c03ae /gcc/c-tree.h | |
parent | 5bdbfb1d23c33b86d4611bb5c4f4cfe13d1c3aba (diff) | |
download | gcc-e4d4d9ae14504f986b0ca393bd77b34cfb78acaa.tar.gz |
* c-typeck.c (c_tree_expr_nonnegative_p): New function.
(build_binary_op): Call c_tree_expr_nonnegative_p rather than
tree_expr_nonnegative_p.
(build_conditional_expr): Likewise.
* c-tree.h (c_tree_expr_nonnegative_p): Declare.
* gcc.dg/compare2.c: Remove xfail from cases 10 and 12.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56927 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index aa2fda5d5ea..531cc284559 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -268,6 +268,7 @@ extern tree build_array_ref PARAMS ((tree, tree)); extern tree build_external_ref PARAMS ((tree, int)); extern tree parser_build_binary_op PARAMS ((enum tree_code, tree, tree)); +extern int c_tree_expr_nonnegative_p PARAMS ((tree)); extern void readonly_warning PARAMS ((tree, const char *)); extern tree build_conditional_expr PARAMS ((tree, tree, tree)); extern tree build_compound_expr PARAMS ((tree)); |