[Bug tree-optimization/49911] SRA + DOM + VRP + -fstrict-enums incorrectly remove predicate
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 8 17:30:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49911
--- Comment #25 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-09-08 17:21:15 UTC ---
Author: jamborm
Date: Thu Sep 8 17:20:52 2011
New Revision: 178701
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178701
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_5-branch/gcc/testsuite/g++.dg/tree-ssa/pr49911.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