From e449caea970e82a784716defb614a12dd3d7d9fa Mon Sep 17 00:00:00 2001 From: nikhilmk Date: Thu, 23 Jan 2020 11:16:54 +0530 Subject: [PATCH] Fixed internal compiler error. addili: illegal IL_TYPE(opc) by accessing the correct index Change-Id: I8a8103f71266366bfb32c658df395ce61e3065f8 --- tools/flang2/flang2exe/exp_ftn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/flang2/flang2exe/exp_ftn.cpp b/tools/flang2/flang2exe/exp_ftn.cpp index 253528f7a10..ecdf65d239a 100644 --- a/tools/flang2/flang2exe/exp_ftn.cpp +++ b/tools/flang2/flang2exe/exp_ftn.cpp @@ -3442,7 +3442,7 @@ exp_bran(ILM_OP opc, ILM *ilmp, int curilm) break; case IM_KAIF: /* integer*8 arithmetic IF */ - type = 4; + type = 3; goto comaif; case IM_IAIF: /* integer arithmetic IF */ type = 0;