https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97880
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:af408874e3d94492ac08ba17462b3ff8ecb4d791 commit r10-9716-gaf408874e3d94492ac08ba17462b3ff8ecb4d791 Author: Tobias Burnus <tob...@codesourcery.com> Date: Fri Nov 27 11:17:50 2020 +0100 OpenACC: Fix integer-type issue with collapse/tile [PR97880] gcc/ChangeLog: PR c/97880 * omp-expand.c (expand_oacc_collapse_init, expand_oacc_collapse_vars): Use now passed diff_type. (expand_oacc_for): Take largest type for diff_type, taking tiling and collapsing into account. gcc/testsuite/ChangeLog: PR c/97880 * gcc.dg/goacc/tile-1.c: New test. (cherry picked from commit f324479caf0ac326534f4fcf72cb12991ccddb3d)