https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87426 --- Comment #1 from SztfG at yandex dot ru --- reduced testcase int arr[1] ={ 0 }; int test(int a) { return (arr[abs(a)]); }