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

Re: Fix type of SRAed enum accesses

2011-09-27 Thread Martin Jambor
Hi, 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

Re: Fix type of SRAed enum accesses

2011-09-27 Thread Richard Guenther
On Tue, Sep 27, 2011 at 4:26 PM, 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 therefore did

Fix type of SRAed enum accesses

2011-09-27 Thread Richard Sandiford
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 therefore didn't alias other accesses to the same structure, and was scheduled a