https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113431
--- Comment #6 from JuzheZhong <juzhe.zhong at rivai dot ai> --- (In reply to Patrick O'Neill from comment #5) > (In reply to JuzheZhong from comment #4) > > a[0][1] seems to be undefined value. > > a is a global variable so the elements are initialized to 0. a[0][1] is > within the bounds a[2][9]. Yes, I believe a[0][1] is 0. Then for all a[b][e] == a[0][1] == 0 should always be 1. Then if (!a[1][1]) should be false and then return 1; I failed to see anything wrong here.