Skip to content

Commit

Permalink
gcc/testsuite/
Browse files Browse the repository at this point in the history
	* c-c++-common/attr-simd-3.c: Put xfail (PR68158) on dg-error.
	* c-c++-common/attr-simd.c: Limit scan of dump to x86_64/i?86.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230641 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
kyukhin committed Nov 20, 2015
1 parent 11d8dd6 commit 2fef9f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-11-20 Kirill Yukhin <kirill.yukhin@intel.com>

* c-c++-common/attr-simd-3.c: Put xfail (PR68158) on dg-error.
* c-c++-common/attr-simd.c: Limit scan of dump to x86_64/i?86.

2015-11-19 David Malcolm <dmalcolm@redhat.com>

* g++.dg/spellcheck-fields.C: New file.
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/c-c++-common/attr-simd-3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/* { dg-options "-fcilkplus" } */
/* { dg-prune-output "undeclared here \\(not in a function\\)|\[^\n\r\]* was not declared in this scope" } */

void f () __attribute__((__simd__, __vector__)); /* { dg-error "in the same function marked as a Cilk Plus" } */
void f () __attribute__((__simd__, __vector__)); /* { dg-error "in the same function marked as a Cilk Plus" "PR68158" { xfail c++ } } */
4 changes: 2 additions & 2 deletions gcc/testsuite/c-c++-common/attr-simd.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ int simd_attr (void)
return 0;
}

/* { dg-final { scan-tree-dump "simd_attr\[ \\t\]simdclone|vector" "optimized" } } */
/* { dg-final { scan-tree-dump "simd_attr\[ \\t\]simdclone|vector" "optimized" { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVbN4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVbM4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVcN4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
Expand All @@ -29,7 +29,7 @@ int simd_attr2 (void)
return 0;
}

/* { dg-final { scan-tree-dump "simd_attr2\[ \\t\]simdclone|vector" "optimized" } } */
/* { dg-final { scan-tree-dump "simd_attr2\[ \\t\]simdclone|vector" "optimized" { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVbN4_simd_attr2:" 1 { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVbM4_simd_attr2:" 1 { target { i?86-*-* x86_64-*-* } } } } */
/* { dg-final { scan-assembler-times "_ZGVcN4_simd_attr2:" 1 { target { i?86-*-* x86_64-*-* } } } } */
Expand Down

0 comments on commit 2fef9f8

Please sign in to comment.