https://gcc.gnu.org/g:266e4a2f65f89f29aee191da69b55f09bbaba706
commit 266e4a2f65f89f29aee191da69b55f09bbaba706 Author: Thomas Schwinge <[email protected]> Date: Mon May 11 16:07:43 2026 +0200 libgomp: Drop unused 'ialias'es from 'libgomp/oacc-init.c' They've always been unused, and, curiously, no 'ialias'es had ever gotten added for any other 'libgomp/oacc-[...].c' files. Minor fix-up for Subversion r219682 (Git commit 41dbbb3789850dfea98dd8984f69806284f87b6e) "Merge current set of OpenACC changes from gomp-4_0-branch". libgomp/ * oacc-init.c (acc_init, acc_shutdown, acc_get_num_devices) (acc_set_device_type, acc_get_device_type, acc_get_device_num) (acc_set_device_num, acc_get_property, acc_get_property_string) (acc_on_device): Drop 'ialias'es. (cherry picked from commit f2fc9d45419b6d2476984d1883468d7f5a9809f3) Diff: --- libgomp/oacc-init.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/libgomp/oacc-init.c b/libgomp/oacc-init.c index 570100e5bb72..70bf10c84d97 100644 --- a/libgomp/oacc-init.c +++ b/libgomp/oacc-init.c @@ -559,8 +559,6 @@ acc_init (acc_device_t d) goacc_attach_host_thread_to_device (-1); } -ialias (acc_init) - void acc_shutdown (acc_device_t d) { @@ -576,8 +574,6 @@ acc_shutdown (acc_device_t d) gomp_mutex_unlock (&acc_device_lock); } -ialias (acc_shutdown) - int acc_get_num_devices (acc_device_t d) { @@ -606,8 +602,6 @@ acc_get_num_devices (acc_device_t d) return n; } -ialias (acc_get_num_devices) - /* Set the device type for the current thread only (using the current global default device number), initialising that device if necessary. Also set the default device type for new threads to D. */ @@ -659,8 +653,6 @@ acc_set_device_type (acc_device_t d) } } -ialias (acc_set_device_type) - static bool self_initializing_p (void) { @@ -717,8 +709,6 @@ acc_get_device_type (void) return res; } -ialias (acc_get_device_type) - int acc_get_device_num (acc_device_t d) { @@ -752,8 +742,6 @@ acc_get_device_num (acc_device_t d) return goacc_device_num; } -ialias (acc_get_device_num) - void acc_set_device_num (int ord, acc_device_t d) { @@ -799,8 +787,6 @@ acc_set_device_num (int ord, acc_device_t d) goacc_device_num = ord; } -ialias (acc_set_device_num) - static union goacc_property_value get_property_any (int ord, acc_device_t d, acc_device_property_t prop) { @@ -845,8 +831,6 @@ acc_get_property (int ord, acc_device_t d, acc_device_property_t prop) return get_property_any (ord, d, prop).val; } -ialias (acc_get_property) - const char * acc_get_property_string (int ord, acc_device_t d, acc_device_property_t prop) { @@ -859,8 +843,6 @@ acc_get_property_string (int ord, acc_device_t d, acc_device_property_t prop) return NULL; } -ialias (acc_get_property_string) - /* For -O and higher, the compiler always attempts to expand acc_on_device, but if the user disables the builtin, or calls it via a pointer, we'll need this version. @@ -877,8 +859,6 @@ acc_on_device (acc_device_t dev) return __builtin_acc_on_device (dev); } -ialias (acc_on_device) - attribute_hidden void goacc_runtime_initialize (void) {
