This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR 65109 - [5 Regression] r220674 causes FAIL: gcc.target/powerpc/ppc64-abi-1.c execution test
- From: Jeff Law <law at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>, Martin Sebor <msebor at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Feb 2015 14:47:23 -0700
- Subject: Re: [PATCH] Fix PR 65109 - [5 Regression] r220674 causes FAIL: gcc.target/powerpc/ppc64-abi-1.c execution test
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvny=gydk6iKbF=RoLoN=tbRd4-FCdeMJxcsVdpA=XvLUb6g at mail dot gmail dot com>
On 02/22/15 11:49, David Edelsohn wrote:
The patch below tweaks the ppc64-abi-1.c test to make it less
prone to volatile registers getting clobbered before the test
has had a chance to save them for later comparison to their
expected values. This resolves the test failure discussed
in PR 65109.
PR target/65109
* gcc.target/powerpc/ppc64-abi-1.c: Split test functions into
two parts. One to save registers, the other to verify the
registers have the right values. Save register state into
static data rather than on the stack.
Okay.
Thanks, David
Installed on the trunk on Martin's behalf.
Martin -- do you have write access to the GCC repository yet? If not,
you should go ahead and get it:
https://gcc.gnu.org/svnwrite.html#authenticated