re PR tree-optimization/69070 (ICE: tree check: expected real_cst, have ssa_name...
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Jan 2016 11:55:59 +0000 (12:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Jan 2016 11:55:59 +0000 (12:55 +0100)
commit942a13194f3efa752dbb1d9b8fbe6ceb9d104e13
tree6bbd05fe88d18b607a5a7d9e9d474829afc13197
parent10dff63f98807e6b7f65c9c3b9f69623f8f619b3
re PR tree-optimization/69070 (ICE: tree check: expected real_cst, have ssa_name in gimple_expand_builtin_pow, at tree-ssa-math-opts.c:1541 with -fsignaling-nans and powl())

PR tree-optimization/69070
* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.

* gcc.dg/pr69070.c: New test.

From-SVN: r232025
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69070.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c