Re: [PATCH][C] Fix PR52549

2012-04-13 Thread Richard Guenther
On Thu, 12 Apr 2012, Richard Guenther wrote: > > This fixes PR52549 - we are running into an overzealous assert > that wants to make sure we don't have PLUS_EXPR on pointers. > But that code does not really check this and falls foul of > the conversion removal code right before it that transforms

[PATCH][C] Fix PR52549

2012-04-12 Thread Richard Guenther
This fixes PR52549 - we are running into an overzealous assert that wants to make sure we don't have PLUS_EXPR on pointers. But that code does not really check this and falls foul of the conversion removal code right before it that transforms (void *)(a + b) to a + b. Fixed as follows. Bootstrap