testsuite: prune new LTO warning

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.
This commit is contained in:
Martin Liska 2021-05-13 09:23:30 +02:00
parent 0ffdbc85d9
commit 810afb0b5f
6 changed files with 6 additions and 0 deletions

View file

@ -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);

View file

@ -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 ();

View file

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

View file

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

View file

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

View file

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