re PR middle-end/85567 (internal compiler error: in gimplify_modify_expr, at gimplify...
authorRichard Biener <rguenther@suse.de>
Wed, 2 May 2018 07:59:34 +0000 (07:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 May 2018 07:59:34 +0000 (07:59 +0000)
commitb18f161d55481899b792b7fde13ce1e91013fbca
tree5a680152a6f7498a167f9d0c50809c0041c83192
parent014dcf477d1504e3259a901fc9ebc4f091cf07f6
re PR middle-end/85567 (internal compiler error: in gimplify_modify_expr, at gimplify.c:5797 when using sincos())

2018-05-02  Richard Biener  <rguenther@suse.de>

PR middle-end/85567
* gimplify.c (gimplify_save_expr): When in SSA form allow
SAVE_EXPRs to compute to SSA vars.

* gcc.dg/torture/pr85567.c: New testcase.

From-SVN: r259826
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr85567.c [new file with mode: 0644]