aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>2016-11-23 10:29:18 +0000
committerNaveen H.S <naveenh@gcc.gnu.org>2016-11-23 10:29:18 +0000
commite36c1cfe080b1f8150e28eb45ef8e190df1dd6ef (patch)
treef8942c3388a272c51eda5a24a2aa9538f6127dfc /gcc/fold-const.c
parentfb2675cb4683a430fb63af44713cd9d2fcd77b97 (diff)
downloadgcc-e36c1cfe080b1f8150e28eb45ef8e190df1dd6ef.zip
gcc-e36c1cfe080b1f8150e28eb45ef8e190df1dd6ef.tar.gz
gcc-e36c1cfe080b1f8150e28eb45ef8e190df1dd6ef.tar.bz2
fold-const.c (tree_expr_nonzero_p): Make non-static.
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. From-SVN: r242744
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 3c5a77e..a0055c4 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;