This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49651] [4.4/4.5 Regression] nested lambdas and -O3 produced incorrect integer variable increments


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

--- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-04 09:50:18 UTC ---
Author: rguenth
Date: Wed Jan  4 09:50:13 2012
New Revision: 182866

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182866
Log:
2012-01-04  Richard Guenther  <rguenther@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.

    * gcc.dg/tree-ssa/pta-ptrarith-1.c: Adjust.
    * gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise.

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-ptrarith-1.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-ptrarith-2.c
    branches/gcc-4_6-branch/gcc/tree-ssa-structalias.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]