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/49911] SRA + DOM + VRP + -fstrict-enums incorrectly remove predicate


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

--- Comment #21 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-09-07 14:25:45 UTC ---
Author: jamborm
Date: Wed Sep  7 14:25:39 2011
New Revision: 178639

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178639
Log:
2011-09-07  Martin Jambor  <mjambor@suse.cz>

    PR tree-optimization/49911
    * tree-sra.c (analyze_access_subtree): Change type of to-be-replaced
    enumerations to the corresponding plain integer type.

    * testsuite/g++.dg/tree-ssa/pr49911.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr49911.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-sra.c


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