On 5-Jul-14, at 1:55 PM, Dominique Dhumieres wrote:

"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.


On hppa, the ",%r2" uniquely identifies the call. The test passes with -flto.

Dave
--
John David Anglin       dave.ang...@bell.net



Reply via email to