flang
flang copied to clipboard
Fixed internal compiler error. addili: illegal IL_TYPE(opc)
Accessing the correct index
Change-Id: I8a8103f71266366bfb32c658df395ce61e3065f8
Fixes issue #860 @gklimowicz @sscalpone
Is this a duplicate of https://github.com/flang-compiler/flang/issues/844 and the fix in https://github.com/flang-compiler/flang/pull/845 ?
Is this a duplicate of #844 and the fix in #845 ?
No.
@nikhil-mk this was the first approach I thought of when trying to fix the issue https://github.com/flang-compiler/flang/issues/844. But then I realised that the index (=4) is correct if the entry for half-precision is there at index (=3) in the aif array in exp_bran in exp_ftn.cpp. The fix in https://github.com/flang-compiler/flang/pull/845 adds that entry.
Looks good to me!