re PR middle-end/77959 (ICE in ix86_decompose_address, at i386/i386.c:14954)
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 Oct 2016 19:36:58 +0000 (21:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 Oct 2016 19:36:58 +0000 (21:36 +0200)
commit9a822fc79deecdc3bad1bcca0bb1ffebdd3b404c
tree36bed8b0d91b88b82bc830d5b4b61a43f841f21d
parent6af11d2bf41df9baf3fda28f4a270d6d4de65341
re PR middle-end/77959 (ICE in ix86_decompose_address, at i386/i386.c:14954)

PR middle-end/77959
* expr.c (expand_expr_real_1) <case CONST_DECL>: For EXPAND_WRITE
return a MEM.

* gfortran.dg/pr77959.f90: New test.

From-SVN: r241182
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77959.f90 [new file with mode: 0644]