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

--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-04 
11:54:25 UTC ---
Author: rguenth
Date: Wed Jan  4 11:54:18 2012
New Revision: 182870

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182870
Log:
2012-01-04  Richard Guenther  <rguent...@suse.de>

    Backport from mainline
    2012-01-04  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/49651
    * tree-ssa-structalias.c (type_can_have_subvars): New function.
    (var_can_have_subvars): Use it.
    (get_constraint_for_1): Only consider subfields if there
    can be any.

    2011-07-14  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/49651
    * tree-ssa-structalias.c (get_constraint_for_1): Properly
    handle dereferences with subvariables.

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

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr49651.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c

Reply via email to