[Bug middle-end/56015] [4.6 Regression] expand expands p[9] = COMPLEX_EXPR <-IMAGPART_EXPR <p[9]>, REALPART_EXPR <p[9]>>; incorrectly.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 18:20:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56015

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 18:20:25 UTC ---
Author: jakub
Date: Wed Apr  3 18:01:51 2013
New Revision: 197448

URL: http://gcc.gnu.org/viewcvs?rev=197448&root=gcc&view=rev
Log:
    Backported from mainline
    2013-01-18  Jakub Jelinek  <jakub@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_6-branch/gcc/testsuite/gfortran.dg/pr56015.f90
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/expr.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list