http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56015
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:11:03 UTC --- Author: jakub Date: Fri Feb 1 14:10:48 2013 New Revision: 195657 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195657 Log: Backported from mainline 2013-01-18 Jakub Jelinek <ja...@redhat.com> PR middle-end/56015 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle the case where writing real complex part of target modifies op1. * gfortran.dg/pr56015.f90: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/pr56015.f90 Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/expr.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog