This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite] Fix g++.dg/lookup/extern-c-redecl[34].C on HP-UX
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Nov 2009 10:35:25 -0800
- Subject: Re: [patch, testsuite] Fix g++.dg/lookup/extern-c-redecl[34].C on HP-UX
- References: <200910291800.n9TI0dT05764@lucas.cup.hp.com>
- Reply-to: janis187 at us dot ibm dot com
On Thu, 2009-10-29 at 11:00 -0700, Steve Ellcey wrote:
> This patch is to fix the failures of g++.dg/lookup/extern-c-redecl3.C
> and g++.dg/lookup/extern-c-redecl4.C on HPPA and IA64 platforms.
>
> IA64 generates:
> br.call.sptk.many b0 = fork#
> br.call.sptk.many b0 = _Z4forkv#
>
> PA generates:
> bl fork,%r2
> bl _Z4forkv,%r2
>
> These patches expand the strings being looked for to match these outputs
> as well as the more common 'call fork'.
>
> Tested on IA64 and PA HP-UX.
>
> OK for checkin?
>
> Steve Ellcey
> sje@cup.hp.com
>
>
> 2009-10-29 Steve Ellcey <sje@cup.hp.com>
>
> * g++.dg/lookup/extern-c-redecl3.C: Modify scans.
> * g++.dg/lookup/extern-c-redecl4.C: Modify scan.
These scans are now used only for x86 so the patch is not needed.
Janis