https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89860
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:98f7381d17a1ad47773b70a5de7d94a164357916 commit r11-75-g98f7381d17a1ad47773b70a5de7d94a164357916 Author: Martin Liska <mli...@suse.cz> Date: Tue Feb 4 14:57:59 2020 +0100 Put index check before use. liboffloadmic/ChangeLog: 2020-02-04 Martin Liska <mli...@suse.cz> PR other/89860 * runtime/offload_target.cpp: Put index check before its use.