Re: Fix middle-end/71308

2016-05-27 Thread Richard Biener
On Fri, May 27, 2016 at 1:52 PM, Marek Polacek wrote: > A stupid mistake of mine. When I introduced the should_remove_lhs_p call, > I removed the check for LHS here, because should_remove_lhs_p checks that. > Well, in this case the LHS was NULL, but gimple_call_fntype (stmt) had void > type, so w

Fix middle-end/71308

2016-05-27 Thread Marek Polacek
A stupid mistake of mine. When I introduced the should_remove_lhs_p call, I removed the check for LHS here, because should_remove_lhs_p checks that. Well, in this case the LHS was NULL, but gimple_call_fntype (stmt) had void type, so we went on and crashed on the SSA_NAME check. Sorry. But at le