Re: [4.6] Fix type of SRAed enum accesses

2011-10-19 Thread Richard Guenther
On Tue, Oct 18, 2011 at 2:21 PM, Jakub Jelinek wrote: > On Tue, Sep 27, 2011 at 03:26:03PM +0100, Richard Sandiford wrote: >> This patch fixes a miscompilation of stage1 c-parser.o in an ARM bootstrap. >> When an access to an enum field was SRAed, a component ref used the type >> of the integer te

[4.6] Fix type of SRAed enum accesses

2011-10-18 Thread Jakub Jelinek
On Tue, Sep 27, 2011 at 03:26:03PM +0100, Richard Sandiford wrote: > This patch fixes a miscompilation of stage1 c-parser.o in an ARM bootstrap. > When an access to an enum field was SRAed, a component ref used the type > of the integer temporary variable instead of the type of the enum. > It there