re PR middle-end/84955 (Incorrect OpenACC tile expansion)
authorCesar Philippidis <cesar@codesourcery.com>
Thu, 12 Apr 2018 13:15:45 +0000 (06:15 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Thu, 12 Apr 2018 13:15:45 +0000 (06:15 -0700)
commit2e5efa6760314aac101b63d1a7742cff5f5e650f
treeb8576600c7c102a8375ae41777eabe324a6b4f07
parentc1566f8942f107774fbe0d41cc5de641175043e7
re PR middle-end/84955 (Incorrect OpenACC tile expansion)

PR middle-end/84955

gcc/
* lto-streamer-out.c (output_function): Fix CFG loop state before
streaming out.
* omp-expand.c (expand_oacc_for): Handle calls to internal
functions like regular functions.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test.
* testsuite/libgomp.oacc-fortran/pr84955.f90: New test.

Co-Authored-By: Richard Biener <rguenther@suse.de>
From-SVN: r259346
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/omp-expand.c
gcc/testsuite/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr84955.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/pr84955.f90 [new file with mode: 0644]