re PR ipa/78027 (ICE in new_oacc_loop_routine, at omp-low.c:19000)
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 9 Dec 2016 14:45:54 +0000 (06:45 -0800)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 9 Dec 2016 14:45:54 +0000 (06:45 -0800)
commit97ad3aef459c78ceca7c42f214dfd618db174d82
tree9dfe62e3f7f29e7c6ffe9c39f067e11ac12765e4
parent6bd8a5c78f6c9b480936e88eff6b44e9ea0ed577
re PR ipa/78027 (ICE in new_oacc_loop_routine, at omp-low.c:19000)

PR ipa/78027

gcc/
* ipa-icf.c (sem_function::parse): Don't process functions with
oacc decl attributes, as they may be OpenACC routines.

gcc/testsuite/
* c-c++-common/goacc/acc-icf.c: New test.
* gfortran.dg/goacc/pr78027.f90: New test.

From-SVN: r243488
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/acc-icf.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/pr78027.f90 [new file with mode: 0644]