diff mbox series

[OBVIOUS] testsuite: prune new LTO warning

Message ID cd2ca8f5-2fad-ec28-74dc-70e73e6bd733@suse.cz
State New
Headers show
Series [OBVIOUS] testsuite: prune new LTO warning | expand

Commit Message

Martin Liška May 13, 2021, 7:24 a.m. UTC
Pushed as obvious.

Martin

libgomp/ChangeLog:

	PR testsuite/100569
	* testsuite/libgomp.c/omp-nested-3.c: Prune new LTO warning.
	* testsuite/libgomp.c/pr46032-2.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c: Likewise.

gcc/testsuite/ChangeLog:

	PR testsuite/100569
	* gcc.dg/atomic/c11-atomic-exec-2.c: Prune new LTO warning.
	* gcc.dg/torture/pr94947-1.c: Likewise.
---
  gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c                  | 1 +
  gcc/testsuite/gcc.dg/torture/pr94947-1.c                         | 1 +
  libgomp/testsuite/libgomp.c/omp-nested-3.c                       | 1 +
  libgomp/testsuite/libgomp.c/pr46032-2.c                          | 1 +
  .../libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c     | 1 +
  .../libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c    | 1 +
  6 files changed, 6 insertions(+)

Comments

Eric Botcazou May 13, 2021, 7:36 a.m. UTC | #1
> gcc/testsuite/ChangeLog:
> 
> 	PR testsuite/100569
> 	* gcc.dg/atomic/c11-atomic-exec-2.c: Prune new LTO warning.
> 	* gcc.dg/torture/pr94947-1.c: Likewise.

Another one:

	PR testsuite/100569
	* gnat.dg/lto21.adb: Prune new LTO warning.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c b/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c
index 9ee56b60193..3e75096243e 100644
--- a/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c
+++ b/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c
@@ -2,6 +2,7 @@ 
     assignment.  */
  /* { dg-do run } */
  /* { dg-options "-std=c11 -pedantic-errors" } */
+/* { dg-prune-output "warning: using serial compilation" } */
  
  extern void abort (void);
  extern void exit (int);
diff --git a/gcc/testsuite/gcc.dg/torture/pr94947-1.c b/gcc/testsuite/gcc.dg/torture/pr94947-1.c
index ab8b488c6fc..832e40db118 100644
--- a/gcc/testsuite/gcc.dg/torture/pr94947-1.c
+++ b/gcc/testsuite/gcc.dg/torture/pr94947-1.c
@@ -1,6 +1,7 @@ 
  /* { dg-do run } */
  /* { dg-additional-sources "pr94947-2.c" } */
  /* { dg-additional-options "-fipa-pta -flto-partition=1to1" } */
+/* { dg-prune-output "warning: using serial compilation" } */
  
  extern void abort ();
  extern void baz ();
diff --git a/libgomp/testsuite/libgomp.c/omp-nested-3.c b/libgomp/testsuite/libgomp.c/omp-nested-3.c
index 7790c58d515..446e6bd386a 100644
--- a/libgomp/testsuite/libgomp.c/omp-nested-3.c
+++ b/libgomp/testsuite/libgomp.c/omp-nested-3.c
@@ -1,4 +1,5 @@ 
  // { dg-do run { target lto } }
  // { dg-additional-options "-fipa-pta -flto -flto-partition=max" }
+// { dg-prune-output "warning: using serial compilation" }
  
  #include "omp-nested-1.c"
diff --git a/libgomp/testsuite/libgomp.c/pr46032-2.c b/libgomp/testsuite/libgomp.c/pr46032-2.c
index 1125f6ec2b2..36f37301abe 100644
--- a/libgomp/testsuite/libgomp.c/pr46032-2.c
+++ b/libgomp/testsuite/libgomp.c/pr46032-2.c
@@ -1,4 +1,5 @@ 
  /* { dg-do run { target lto } } */
  /* { dg-options "-O2 -ftree-vectorize -std=c99 -fipa-pta -flto -flto-partition=max" } */
+/* { dg-prune-output "warning: using serial compilation" } */
  
  #include "pr46032.c"
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c
index 2cd98bd9d78..49c11acd933 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c
@@ -1,4 +1,5 @@ 
  /* { dg-do run { target lto } } */
  /* { dg-additional-options "-fipa-pta -flto -flto-partition=max" } */
+/* { dg-prune-output "warning: using serial compilation" } */
  
  #include "data-clauses-kernels.c"
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c
index ddcf4e389cb..4d61d847c61 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c
@@ -1,4 +1,5 @@ 
  /* { dg-do run { target lto } } */
  /* { dg-additional-options "-fipa-pta -flto -flto-partition=max" } */
+/* { dg-prune-output "warning: using serial compilation" } */
  
  #include "data-clauses-parallel.c"