public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Testsuite: mark IPA test as requiring alias support
@ 2023-08-20 12:15 FX Coudert
  2023-08-20 13:55 ` Iain Sandoe
  0 siblings, 1 reply; 3+ messages in thread
From: FX Coudert @ 2023-08-20 12:15 UTC (permalink / raw)
  To: gcc-patches; +Cc: marxin

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

Hi,

The fact that this test needs alias support was indicated in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85656 but never committed. Without it, the test fails on darwin.

OK to commit?

FX


[-- Attachment #2: 0001-Testsuite-mark-IPA-test-as-requiring-alias-support.patch --]
[-- Type: application/octet-stream, Size: 1035 bytes --]

From a9f67235ee5f7e08cd13dfebaa4715b19df911ca Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gmail.com>
Date: Sun, 20 Aug 2023 14:13:22 +0200
Subject: [PATCH] Testsuite: mark IPA test as requiring alias support

This was indicated in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85656
but never committed. Without it, the test fails on darwin.

gcc/testsuite/ChangeLog:
	* gcc.dg/ipa/ipa-icf-38.c: Require alias support.
---
 gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
index 452e1b88514..57c5262dd4a 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
@@ -1,4 +1,5 @@
 /* { dg-do link } */
+/* { dg-require-alias "" } */
 /* { dg-options "-O2 -fdump-ipa-icf-optimized -flto -fdump-tree-optimized" } */
 /* { dg-require-effective-target lto } */
 /* { dg-additional-sources "ipa-icf-38a.c" }*/
-- 
2.39.2 (Apple Git-143)


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

end of thread, other threads:[~2023-08-20 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-20 12:15 [PATCH] Testsuite: mark IPA test as requiring alias support FX Coudert
2023-08-20 13:55 ` Iain Sandoe
2023-08-20 17:42   ` FX Coudert

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