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 #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-11 13:37:00 UTC ---
(In reply to comment #13)
> (In reply to comment #6)
> > Still SRA should probably not produce enum kind replacements but always
> > integer kind ones.
> > 
> 
> I see, what would be the best way of obtaining the proper pure integer
> type from an ENUMERAL_TYPE (or its TREE_TYPE)?  Poking around in
> tree.h did not reveal anything obvious so far...

build_nonstandard_integer_type (TYPE_PRECISION (enum_type), TYPE_UNSINGED
(enum_type));


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