This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] PR64703, glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]