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

--- Comment #20 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-06 
07:30:11 UTC ---
(In reply to comment #18)
> Created attachment 25199 [details]
> Patch preventing SRA from creating enumeration type replacements
> 
> I'm currently testing this patch which will change the type of enum
> components it decides to scalarize to the corresponding integer.  I
> have verified the type of the replacement is one.
> 
> I've lost the track of whether anything else needs to be done to close
> this bug, though.  Should the patch be applied to the 4.6 and 4.5
> branches too (assuming it passes testing there)?

I think so, at least if it solves the testcase in this bug.  Not exposing
extra enum typed registers to VRP is definitely a good thing.

Reply via email to