https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101551

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Similarly, when calling 'lang_hooks.decl_printable_name (current_function_decl,
2)' in 'gcc/omp-offload.c:execute_oacc_device_lower' for:

    #pragma acc routine
    template <typename T> T
    ROUTINE(int val)
    { [...] }

..., for 'ROUTINE<float>' instantiated that returns 'ROUTINE<float>(int)float'
for offloading enabled and 'T ROUTINE(int) [with T = float]' otherwise.

Reply via email to