Add pass_oacc_ipa
authorTom de Vries <tom@codesourcery.com>
Wed, 16 Dec 2015 13:49:07 +0000 (13:49 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 16 Dec 2015 13:49:07 +0000 (13:49 +0000)
commit597a8ab9c6f57c416c2b0a734c2098fa0335e628
tree2932f5cc1548ca0542477812be3dbb8f67821ac7
parentf47cda24579db16228140f8849e9c456093c92ab
Add pass_oacc_ipa

2015-12-16  Tom de Vries  <tom@codesourcery.com>

* opts.c (default_options_optimization): Set fipa-pta on by default for
fopenacc.
* passes.def: Move kernels pass group to pass_ipa_oacc.
* tree-pass.h (make_pass_oacc_kernels2): Remove.
(make_pass_ipa_oacc, make_pass_ipa_oacc_kernels): Declare.
* tree-ssa-loop.c (pass_oacc_kernels2, make_pass_oacc_kernels2): Remove.
(pass_ipa_oacc, pass_ipa_oacc_kernels): New pass.
(make_pass_ipa_oacc, make_pass_ipa_oacc_kernels): New function.
* tree-ssa-structalias.c (pass_ipa_pta::clone): New function.

* g++.dg/ipa/devirt-37.C: Update for new fre2 pass.
* g++.dg/ipa/devirt-40.C: Same.
* g++.dg/tree-ssa/pr61034.C: Same.
* gcc.dg/ipa/ipa-pta-1.c: Update for new pta1 pass.
* gcc.dg/ipa/ipa-pta-10.c: Same.
* gcc.dg/ipa/ipa-pta-11.c: Same.
* gcc.dg/ipa/ipa-pta-14.c: Same.
* gcc.dg/ipa/ipa-pta-16.c: Same.
* gcc.dg/ipa/ipa-pta-2.c: Same.
* gcc.dg/ipa/ipa-pta-5.c: Same.
* gcc.dg/ipa/ipa-pta-6.c: Same.
* gcc.dg/torture/ipa-pta-1.c: Same.
* gcc.dg/ipa/ipa-pta-13.c: Update for new fre2 and pta1 pass.
* gcc.dg/ipa/ipa-pta-3.c: Same.
* gcc.dg/ipa/ipa-pta-4.c: Same.

From-SVN: r231690
22 files changed:
gcc/ChangeLog
gcc/opts.c
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-37.C
gcc/testsuite/g++.dg/ipa/devirt-40.C
gcc/testsuite/g++.dg/tree-ssa/pr61034.C
gcc/testsuite/gcc.dg/ipa/ipa-pta-1.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-10.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-11.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-13.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-14.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-16.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-2.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-3.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-4.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-5.c
gcc/testsuite/gcc.dg/ipa/ipa-pta-6.c
gcc/testsuite/gcc.dg/torture/ipa-pta-1.c
gcc/tree-pass.h
gcc/tree-ssa-loop.c
gcc/tree-ssa-structalias.c