summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-omp.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-11 19:55:09 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-11 19:55:09 +0000
commitb9a1687032fc1afb5f4e9d8dfa775a134abe21ba (patch)
tree304b794b6f6f0af1f79b00f4166b897337141fac /gcc/c-family/c-omp.c
parent74fcb726ed12f7bce6ef94080d91b4e3cac61824 (diff)
downloadgcc-b9a1687032fc1afb5f4e9d8dfa775a134abe21ba.tar.gz
Convert standard builtin functions from being arrays to using a functional interface
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-omp.c')
-rw-r--r--gcc/c-family/c-omp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-family/c-omp.c b/gcc/c-family/c-omp.c
index 4a5b0ca928b..481211ed72d 100644
--- a/gcc/c-family/c-omp.c
+++ b/gcc/c-family/c-omp.c
@@ -77,7 +77,7 @@ c_finish_omp_barrier (location_t loc)
{
tree x;
- x = built_in_decls[BUILT_IN_GOMP_BARRIER];
+ x = builtin_decl_explicit (BUILT_IN_GOMP_BARRIER);
x = build_call_expr_loc (loc, x, 0);
add_stmt (x);
}
@@ -91,7 +91,7 @@ c_finish_omp_taskwait (location_t loc)
{
tree x;
- x = built_in_decls[BUILT_IN_GOMP_TASKWAIT];
+ x = builtin_decl_explicit (BUILT_IN_GOMP_TASKWAIT);
x = build_call_expr_loc (loc, x, 0);
add_stmt (x);
}
@@ -105,7 +105,7 @@ c_finish_omp_taskyield (location_t loc)
{
tree x;
- x = built_in_decls[BUILT_IN_GOMP_TASKYIELD];
+ x = builtin_decl_explicit (BUILT_IN_GOMP_TASKYIELD);
x = build_call_expr_loc (loc, x, 0);
add_stmt (x);
}
@@ -260,7 +260,7 @@ c_finish_omp_flush (location_t loc)
{
tree x;
- x = built_in_decls[BUILT_IN_SYNC_SYNCHRONIZE];
+ x = builtin_decl_explicit (BUILT_IN_SYNC_SYNCHRONIZE);
x = build_call_expr_loc (loc, x, 0);
add_stmt (x);
}