PR/50076 make c-c++-common/cxxbitfields-3.c work in Darwin
Jakub Jelinek
jakub@redhat.com
Mon Dec 12 16:25:00 GMT 2011
On Mon, Dec 12, 2011 at 04:18:29PM +0000, Iain Sandoe wrote:
> thus is everyone reasonably happy with?
>
> Index: gcc/testsuite/c-c++-common/cxxbitfields-3.c
> ===================================================================
> --- gcc/testsuite/c-c++-common/cxxbitfields-3.c (revision 182219)
> +++ gcc/testsuite/c-c++-common/cxxbitfields-3.c (working copy)
> @@ -18,4 +18,5 @@ void setit()
> var.j = 5;
> }
>
> -/* { dg-final { scan-assembler "movl.*, var" } } */
> +/* { dg-final { scan-assembler "movl.*, _?var" { target nonpic } } } */
> +/* { dg-final { scan-assembler "movl.*, (_?var|\\(%)" { target { ! nonpic } } } } */
>
Yes, this is ok for the trunk with proper ChangeLog entry.
Jakub
More information about the Gcc-patches
mailing list