This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't "call"
- From: John David Anglin <dave dot anglin at bell dot net>
- To: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- Cc: schwab at linux-m68k dot org, hp at bitrange dot com, gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sat, 5 Jul 2014 14:44:21 -0400
- Subject: Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't "call"
- Authentication-results: sourceware.org; auth=none
- References: <20140705155654 dot 20DD5105 at mailhost dot lps dot ens dot fr> <BLU436-SMTP15005D32BE0A5FB6BE80FFB97030 at phx dot gbl> <20140705175542 dot D8727105 at mailhost dot lps dot ens dot fr>
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.anglin@bell.net