public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3982] testsuite: Skip a test-case when LTO is used [PR102509]
@ 2021-09-30 12:17 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-09-30 12:17 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c3d11a1e9528b6140c65a66d47225a0b6a8814e0

commit r12-3982-gc3d11a1e9528b6140c65a66d47225a0b6a8814e0
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Sep 30 14:12:35 2021 +0200

    testsuite: Skip a test-case when LTO is used [PR102509]
    
            PR testsuite/102509
    
    gcc/testsuite/ChangeLog:
    
            * gcc.c-torture/compile/attr-complex-method.c: Skip if LTO is
              used.
            * gcc.c-torture/compile/attr-complex-method-2.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/attr-complex-method.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c b/gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c
index a3dc9c1ba91..121ae17f64b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c
@@ -1,4 +1,5 @@
 /* { dg-additional-options "-fcx-limited-range -fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
 
 #pragma GCC optimize "-fno-cx-limited-range"
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/attr-complex-method.c b/gcc/testsuite/gcc.c-torture/compile/attr-complex-method.c
index f08b72e273f..046de7efeb9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/attr-complex-method.c
+++ b/gcc/testsuite/gcc.c-torture/compile/attr-complex-method.c
@@ -1,4 +1,5 @@
 /* { dg-additional-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
 
 #pragma GCC optimize "-fcx-limited-range"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-30 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 12:17 [gcc r12-3982] testsuite: Skip a test-case when LTO is used [PR102509] Martin Liska

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