From 3ad4a03ac6127ac5b7656977d3e41deac0605bf3 Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Fri, 6 Dec 2019 18:33:19 +0000 Subject: [PATCH] Fix Fortran linker errors on AMD GCN 2019-12-06 Kwok Cheung Yeung libgomp/ * config/accel/proc.c (omp_get_num_procs): Apply ialias macro. From-SVN: r279060 --- libgomp/ChangeLog | 4 ++++ libgomp/config/accel/proc.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 8351196dcb7..22ac20f2f14 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2019-12-06 Kwok Cheung Yeung + + * config/accel/proc.c (omp_get_num_procs): Apply ialias macro. + 2019-12-06 Tobias Burnus Kwok Cheung Yeung diff --git a/libgomp/config/accel/proc.c b/libgomp/config/accel/proc.c index 8ca0b0a1ee1..be4cb30632a 100644 --- a/libgomp/config/accel/proc.c +++ b/libgomp/config/accel/proc.c @@ -39,3 +39,5 @@ omp_get_num_procs (void) { return gomp_icv (false)->nthreads_var; } + +ialias (omp_get_num_procs) -- 2.30.2