https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97880
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:f324479caf0ac326534f4fcf72cb12991ccddb3d commit r11-5489-gf324479caf0ac326534f4fcf72cb12991ccddb3d 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.