Re: [Patch] Fix PR 49309, ICE with mudflap

2011-07-14 Thread Richard Guenther
On Wed, Jul 13, 2011 at 10:37 PM, Andrew Pinski wrote: > Hi, >  The problem here is that the type of the POINTER_PLUS_EXPR is > incorrect and also the non folded version leaks to the IR.  This patch > fixes those two problems and fixes the ICE. > > OK? Bootstrapped and tested on x86_64-linux-gnu w

[Patch] Fix PR 49309, ICE with mudflap

2011-07-13 Thread Andrew Pinski
Hi, The problem here is that the type of the POINTER_PLUS_EXPR is incorrect and also the non folded version leaks to the IR. This patch fixes those two problems and fixes the ICE. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. Thanks, Andrew Pinski 2011-07-13 Andrew Pin