This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] PR64703, glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Richard Biener <richard dot guenther at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Jan 2015 13:55:22 -0600
- Subject: Re: [RFC] PR64703, glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile
- Authentication-results: sourceware.org; auth=none
- References: <20150123232339 dot GS12931 at bubble dot grove dot modra dot org> <CAFiYyc1YFTYb3uEE10pU03=hycOALXiyPJeNPOA6OqKOE2Cf-g at mail dot gmail dot com> <20150127123323 dot GU12931 at bubble dot grove dot modra dot org> <20150129141437 dot GA14796 at bubble dot grove dot modra dot org>
On Fri, Jan 30, 2015 at 12:44:37AM +1030, Alan Modra wrote:
> Index: gcc/testsuite/gcc.target/powerpc/pr64703.c
> ===================================================================
> --- gcc/testsuite/gcc.target/powerpc/pr64703.c (revision 0)
> +++ gcc/testsuite/gcc.target/powerpc/pr64703.c (working copy)
> @@ -0,0 +1,36 @@
> +/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
> +/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
> +/* { dg-options "-O2 -mabi=elfv1" } */
> +/* { dg-final { scan-assembler "std .\*,112\\(1\\)" } } */
> +/* { dg-final { scan-assembler "std .\*,120\\(1\\)" } } */
> +/* { dg-final { scan-assembler "std .\*,128\\(1\\)" } } */
> +/* { dg-final { scan-assembler "addi .\*,1,112" } } */
. matches newline; use [^,]*, instead?
Segher