http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49911
--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-08-11 12:33:44 UTC --- (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...