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 #24 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-09-08 13:58:39 UTC ---
Author: jamborm
Date: Thu Sep  8 13:58:30 2011
New Revision: 178693

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178693
Log:
2011-09-08  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:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/tree-ssa/pr49911.C
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-sra.c


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