> "myBindC,%r2" will work on hppa*-*-*. I don't believe preceding stuff > is needed on hppa.
Sorry, the relation with -flto has been lost in my repost of this patch. Without something before 'myBindC', the symbol appears twice when compiled with -flto, once in the assembly itself and once in the addition produced by -flto. The goal of the stuff before 'myBindC' is to rule out this addition. Use something such as make -k check-gfortran RUNTESTFLAGS="dg.exp=bind_c_array_params_2.f90 --target_board=unix'{-m32,-m64,-m32/-flto,-m64/-flto}'" to see the difference. Dominique