aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2013-10-17 17:41:07 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2013-10-17 17:41:07 +0000
commit0645c1a22d29fcbe12ee8f774709b20b1bc3f594 (patch)
tree7581ded8e73540ef06a21726e484e189f067777a /gcc/cp
parent6f1abb55073c46b93155e13eb5308aee7f13dd5e (diff)
downloadgcc-0645c1a22d29fcbe12ee8f774709b20b1bc3f594.zip
gcc-0645c1a22d29fcbe12ee8f774709b20b1bc3f594.tar.gz
gcc-0645c1a22d29fcbe12ee8f774709b20b1bc3f594.tar.bz2
tree-flow.h (struct omp_region): Move to omp-low.c.
* tree-flow.h (struct omp_region): Move to omp-low.c. Remove omp_ prototypes and variables. * gimple.h (omp_reduction_init): Move prototype to omp-low.h. (copy_var_decl): Relocate prototype from tree-flow.h. * gimple.c (copy_var_decl): Relocate from omp-low.c. * tree.h: Move prototype to omp-low.h. * omp-low.h: New File. Relocate prototypes here. * omp-low.c (struct omp_region): Make local here. (root_omp_region): Make static. (copy_var_decl) Move to gimple.c. (new_omp_region): Make static. (make_gimple_omp_edges): New. Refactored from tree-cfg.c make_edges. * tree-cfg.c: Include omp-low.h. (make_edges): Factor out OMP specific bits to make_gimple_omp_edges. * gimplify.c: Include omp-low.h. * tree-parloops.c: Likewise. c * c-parser.c: Include omp-low.h. * c-typeck.c: Likewise. cp * parser.c: Include omp-low.h. * semantics.c: Likewise. fortran * trans-openmp.c: Include omp-low.h. From-SVN: r203786
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/parser.c1
-rw-r--r--gcc/cp/semantics.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3ce68e8..4a5043a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * parser.c: Include omp-low.h.
+ * semantics.c: Likewise.
+
2013-10-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58596
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index e33f5a2..54520b4 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pretty-print.h"
#include "parser.h"
#include "type-utils.h"
+#include "omp-low.h"
/* The lexer. */
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 41965b6..e56052d 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -44,6 +44,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "bitmap.h"
#include "hash-table.h"
+#include "omp-low.h"
static bool verify_constant (tree, bool, bool *, bool *);
#define VERIFY_CONSTANT(X) \