Re: [PATCH] Fix PR89765

2019-04-25 Thread Jakub Jelinek
On Thu, Apr 25, 2019 at 04:58:57PM +0200, Richard Biener wrote: > 2019-04-25 Richard Biener > > PR middle-end/89765 > * gimplify.c (gimplify_expr): Avoid turning a lvalue > VIEW_CONVERT_EXPR into one operating on an rvalue. Successfully bootstrapped/regtested on {powerpc64{,l

[PATCH] Fix PR89765

2019-04-25 Thread Richard Biener
This fixes the ICE seen by the ppc testcase in the PR. The gimplifier was blindly turning a VIEW_CONVERT_EXPR into an rvalue even if that isn't allowed. Bootstrap / regtest running on x86_64-unknown-linux-gnu, OK? Can ppc folks add the testcase (maybe once they figure out the remaining wrong-c