﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3	Compilation can fail for TEncSearch.cpp	gordon	XiangLi	"Gcc compilation can fail in TEncSearch.cpp, in TEncSearch::estIntraPredQT (line 3144).

The indication is  ""array bounds exceeded"".  The compiler has partially followed the logic of

Int numModesAvailable     = 67;
...
if (doFastSearch)
...
else
... problem here, with
    for( Int i=0; i < numModesForFullRD; i++)
      uiRdModeList[i] = i;

The compiler assumes that the array is being initialized up to numModesAvailable (deduced from previous tests), which is bigger than the array size.

From what I can see, doFastSearch is always true and the else case is never executed.
If that is true, the else case can be deleted as in the supplied patch.

If the else-case is to be left in for future-proofing any up coming logic, the array size will have to be increased.
"	task	closed	minor		JEM	HM-14.0-KTA-2.0	fixed	TEncSearch compilation failure	ksuehring XiangLi vceg-experts@…
