gimplify.h (generic_expr_could_trap_p): Set as global function.
authorKugan Vivekanandarajah <kuganv@linaro.org>
Fri, 6 Jul 2018 22:10:20 +0000 (22:10 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Fri, 6 Jul 2018 22:10:20 +0000 (22:10 +0000)
commit3f6f33195bc0ede860ecbf55fe92712f3f503f50
treed67ff11dbd4272b079b2d01e3eba1d9861d0b585
parentf290100275139ccb59832bb75ff7fb2606e110d7
gimplify.h (generic_expr_could_trap_p): Set as global function.

gcc/ChangeLog:

2018-07-06  Kugan Vivekanandarajah  <kuganv@linaro.org>

* gimplify.h (generic_expr_could_trap_p): Set as global function.
* gimplify.h (generic_expr_could_trap_p): Likwise.
* tree-scalar-evolution.c (expression_expensive_p): Handle COND_EXPR.

gcc/testsuite/ChangeLog:

2018-07-06  Kugan Vivekanandarajah  <kuganv@linaro.org>

* gcc.dg/tree-ssa/pr64183.c: Disable final value replacement
to preserve the test.
* gcc.target/i386/pr85073.c: Likewise.

From-SVN: r262486
gcc/ChangeLog
gcc/gimplify.c
gcc/gimplify.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr64183.c
gcc/testsuite/gcc.target/i386/pr85073.c
gcc/tree-scalar-evolution.c