[Bug middle-end/52693] Wrong code with SRA and arrays

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 28 18:23:00 GMT 2012


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

--- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-03-28 18:20:28 UTC ---
Author: jamborm
Date: Wed Mar 28 18:20:20 2012
New Revision: 185923

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185923
Log:
2012-03-28  Martin Jambor  <mjambor@suse.cz>

    PR middle-end/52693
    * tree-sra.c (sra_modify_assign): Do not call
    load_assign_lhs_subreplacements when working with an unscalarizable
    region.

    * testsuite/gcc.dg/torture/pr52693.c: New test.


Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr52693.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-sra.c



More information about the Gcc-bugs mailing list