]> gcc.gnu.org Git - gcc.git/commitdiff
Fix test-case on ppc64le (PR testsuite/79455).
authorMartin Liska <mliska@suse.cz>
Thu, 27 Apr 2017 14:28:06 +0000 (16:28 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 27 Apr 2017 14:28:06 +0000 (14:28 +0000)
2017-04-27  Martin Liska  <mliska@suse.cz>

PR testsuite/79455
* c-c++-common/tsan/race_on_mutex.c: Make the scanned pattern
more generic.

From-SVN: r247342

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/tsan/race_on_mutex.c

index e97e20ca964d8684b5fa9ab8f3793bd3317d238b..33bd7d602bd46469476740dfaf4ae30b4a4c0b17 100644 (file)
@@ -1,3 +1,9 @@
+2017-04-27  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/79455
+       * c-c++-common/tsan/race_on_mutex.c: Make the scanned pattern
+       more generic.
+
 2017-04-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/80534
index ae30d053c92a95cee8ef48fd9689e241d597598f..def1d47de7bc1bb2d10084eb13b68d690c91a1d5 100644 (file)
@@ -37,9 +37,10 @@ int main() {
 }
 
 /* { dg-output "WARNING: ThreadSanitizer: data race.*(\n|\r\n|\r)" } */
-/* { dg-output "  Atomic read of size 1 at .* by thread T2:(\n|\r\n|\r)" } */
+/* { dg-output "  Atomic read of size \[0-9]\+ at .* by thread T2:(\n|\r\n|\r)" } */
 /* { dg-output "    #0 pthread_mutex_lock.*" } */
 /* { dg-output "    #1 Thread2.* .*(race_on_mutex.c:22|\\?{2}:0) (.*)" } */
-/* { dg-output "  Previous write of size 1 at .* by thread T1:(\n|\r\n|\r)" } */
-/* { dg-output "    #0 pthread_mutex_init .* (.)*" } */
-/* { dg-output "    #1 Thread1.* .*(race_on_mutex.c:12|\\?{2}:0) .*" } */
+/* { dg-output "  Previous write of size \[0-9]\+ at .* by thread T1:(\n|\r\n|\r)" } */
+/* { dg-output "(    #0 \[^\n\r\]*(\n|\r\n|\r))?" } */
+/* { dg-output "    #\[01\] (__)?pthread_mutex_init \[^\n\r\]* (.)*" } */
+/* { dg-output "    #\[12\] Thread1.* .*(race_on_mutex.c:12|\\?{2}:0) .*" } */
This page took 0.068443 seconds and 5 git commands to generate.