https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85782
--- Comment #2 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri May 18 15:46:56 2018 New Revision: 260370 URL: https://gcc.gnu.org/viewcvs?rev=260370&root=gcc&view=rev Log: PR c++/85782 Backport from mainline 2018-05-18 Cesar Philippidis <ce...@codesourcery.com> PR c++/85782 gcc/cp/ * cp-gimplify.c (cp_genericize_r): Call genericize_omp_for_stmt for OACC_LOOPs. gcc/testsuite/ * c-c++-common/goacc/pr85782.c: New test. libgomp/ * testsuite/libgomp.oacc-c-c++-common/pr85782.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/c-c++-common/goacc/pr85782.c branches/gcc-8-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85782.c Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/cp-gimplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/libgomp/ChangeLog