diff options
author | naveenh <naveenh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-23 10:29:18 +0000 |
---|---|---|
committer | naveenh <naveenh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-23 10:29:18 +0000 |
commit | 70229d3b73bec9b06feaac99118633c251fa714c (patch) | |
tree | f8942c3388a272c51eda5a24a2aa9538f6127dfc /gcc/fold-const.c | |
parent | 6e47b422468d2ada04209b26465b7af81dcbef5b (diff) | |
download | gcc-70229d3b73bec9b06feaac99118633c251fa714c.tar.gz |
2016-11-23 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
gcc
* fold-const.c (tree_expr_nonzero_p) : Make non-static.
* fold-const.h (tree_expr_nonzero_p) : Declare.
* match.pd (cmp (mult:c @0 @1) (mult:c @2 @1) : New Pattern.
gcc/testsuite
* gcc.dg/pr31096.c: New testcase.
* gcc.dg/pr31096-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242744 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 3c5a77ee654..a0055c45c37 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -9014,7 +9014,7 @@ tree_expr_nonzero_warnv_p (tree t, bool *strict_overflow_p) /* Return true when T is an address and is known to be nonzero. Handle warnings about undefined signed overflow. */ -static bool +bool tree_expr_nonzero_p (tree t) { bool ret, strict_overflow_p; |