public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][OBVIOUS] testsuite: prune new LTO warning
@ 2021-05-13  7:24 Martin Liška
  2021-05-13  7:36 ` Eric Botcazou
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2021-05-13  7:24 UTC (permalink / raw)
  To: gcc-patches

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(+)

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"
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][OBVIOUS] testsuite: prune new LTO warning
  2021-05-13  7:24 [PATCH][OBVIOUS] testsuite: prune new LTO warning Martin Liška
@ 2021-05-13  7:36 ` Eric Botcazou
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Botcazou @ 2021-05-13  7:36 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

> 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.

-- 
Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 387 bytes --]

diff --git a/gcc/testsuite/gnat.dg/lto21.adb b/gcc/testsuite/gnat.dg/lto21.adb
index fe6fb2734b5..f6266978ee0 100644
--- a/gcc/testsuite/gnat.dg/lto21.adb
+++ b/gcc/testsuite/gnat.dg/lto21.adb
@@ -1,5 +1,6 @@
 -- { dg-do run }
 -- { dg-options "-O3 -flto" { target lto } }
+-- { dg-prune-output "warning: using serial compilation" }
 
 with Lto21_Pkg1;
 with Lto21_Pkg2; use Lto21_Pkg2;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-13  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13  7:24 [PATCH][OBVIOUS] testsuite: prune new LTO warning Martin Liška
2021-05-13  7:36 ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).