Re: [PATCH] Fix another ICE with complex assignment (PR middle-end/83608)

2017-12-30 Thread Richard Biener
On December 30, 2017 8:35:09 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The comment on convert_modes says: > Both modes may be floating, or both integer. >but as the testcase shows, with a MEM_REF with a different mode class >than a VAR_DECL as its operand we can end up with e.g. floating point

[PATCH] Fix another ICE with complex assignment (PR middle-end/83608)

2017-12-30 Thread Jakub Jelinek
Hi! The comment on convert_modes says: Both modes may be floating, or both integer. but as the testcase shows, with a MEM_REF with a different mode class than a VAR_DECL as its operand we can end up with e.g. floating point vs. integral mode etc. and convert_modes doesn't handle those cases. T