Message ID | 20231106105831.3861671-1-poulhies@adacore.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2574326vqu; Mon, 6 Nov 2023 02:59:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLbmp8ll1Ka32/KAVL6Hnc+rEDX2ktU8IJz8oxSYM712frNxXUxYcjnnMPb5ID86au4las X-Received: by 2002:a05:6214:130b:b0:66d:ba80:2324 with SMTP id pn11-20020a056214130b00b0066dba802324mr44372585qvb.41.1699268366603; Mon, 06 Nov 2023 02:59:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699268366; cv=pass; d=google.com; s=arc-20160816; b=BwdCi8WJOKzTxbYj1XNxaa9NCfkHBGwu70H4iHggV+Gxmfc/X+Ei8IykTn0Kr95U87 iH0ynx3l2237Uv5ZDDvru80Gzzu5an0dWGJgZEA/FH+V5TkIqD8MWYjgFyKbbHs9lh2t Q1/r1OehqNPeLbVljjS90IcQoW76CJ5M4T7X4EqN4plVcyAKZrXHV7EH+5X2VjLo/QXl NKNKyWYKTYlNt1ZLCrhXA0LQOefjdNgsw60tWNni4IX9LVShJ6DP7QhZwFZeNoOljy+v oKrl6J0gsZZqmwoeTuEY2Y39ni5UithxynZeZYJUgpQP61hl2iKaQNKv0HU4y8KxYGxQ CyDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=mA02l4jhrPRVPRmLaIEhXWJp3y8UgtLOPVFD4/Qd6dg=; fh=h98mFSi1RI9GUF1Fjw6Ymd7HVeAdKmNoVDxwAmFcsRg=; b=F57pNmKnh/VMskEmBsCmDkSINiO2x555UEv1bUJWOodm7fZ9yq2+B/Z0br19koLBPm eSxlxEnt3nMfLX9Hj5wD11ha8SndAL6RfXJBmhnG/bWmV6KsG0kx3kEHfzWdWhrqbhW9 +gIx3NYfPti0VlL0bZhc1yYeqI0EEKkLURKVKBGjaqaU6pQb8TQlo3O0wFCuKQJTYRJq ND1ZTVzueeQQwnzeUWreEHOPTtPSl0i6azxhR1oc86c/+5g553LlG/70tZ6bdxdDsfVj GIvdhXNGx2mET4YKJG70WhW/upXzXD1VIm6uWKmstVieoyyzP9QyFl/JtVcmbNTzxBem +2Qg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=JUMXgDaM; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w1-20020a0562140b2100b0066d0543b654si5236597qvj.341.2023.11.06.02.59.26 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:59:26 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=JUMXgDaM; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 60AC63858291 for <ouuuleilei@gmail.com>; Mon, 6 Nov 2023 10:59:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by sourceware.org (Postfix) with ESMTPS id 8EE593858D3C for <gcc-patches@gcc.gnu.org>; Mon, 6 Nov 2023 10:59:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8EE593858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8EE593858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699268343; cv=none; b=UZt/ihDmDkjbATGZkGyR3QrTV5wvsGAuaM0IoApk6byN2jM+xoXcjhHwxsw+qvE6+SlXJkGzyFnvuvZ2i8ljGnndiLtvYzPMc+Boww2kWq1PRlavoq1Y46A3mUd0siEa/8FFdUtbB9q+nhHr2X8p9MYNcyaY51XO/qP0KN2Lhzw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699268343; c=relaxed/simple; bh=QJ3YJv3bkvRn3wSmh9YKbOUJLF2KgUGjXNztwkdyEA0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YSp58E66FvCFQb4u1C3dwH24vOI/0WHYmVlnzzceNma/9OH0+cWEcBfqmgo39jS8ZJG95rwRvZ44oJvkduVLApJKGOmP5QnWwZhjVfxCuplXDvdqw/9/dMhEIWOzjp3sVJPBdM3mc6hJVnsTJ/NCmOgL0dGcd2R4PQnrtq88Fko= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-507ad511315so6187379e87.0 for <gcc-patches@gcc.gnu.org>; Mon, 06 Nov 2023 02:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1699268339; x=1699873139; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mA02l4jhrPRVPRmLaIEhXWJp3y8UgtLOPVFD4/Qd6dg=; b=JUMXgDaMBRFsRA/LVcrQ9NonW3MTS9+FZKeENDeWX8mh2KVpOB+0PgVbZrwW3X8XCU rfWTujtpGmb/lQ6nZpBQsJtAe/SRdvZAWSM4cO4FnY1Y9zLJT3iuzUQkThFQ40gxMGAY tZP+Hjx0A1iiOqUPIP4q0Q2ICCcVOr5O8TSwHP183XhM5ig/OjWSAHIPaTLn8nCYNgSe RNf+DHIdo7kKWf2YVpx6ngoUrT2eXSs95/IuIs3HatyU9R66NI/3sF9XZ03MCPHn2dYB rd2bM58z4GEDE/xjNXfGrfvzDOzUgWTtsq60DZQ8utH1HIu++qXrdC2kdEEE8wwUBSLo DlhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268339; x=1699873139; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mA02l4jhrPRVPRmLaIEhXWJp3y8UgtLOPVFD4/Qd6dg=; b=lHYsvBiBq1ToESLj0IHOR6luM1Z75uJ0WR4P5w9xObfCPWGURc/Vo7BbJ6KzeLKZhI 5mPHWUAQG33grVziO9dAsjcG4fhT5NG5xQisuOfA8Z9AQoX/pXlWANMTaftUFeVfKDsP TELykEnAiAs5WWH3sqwQmAqDO3LiOpKy8rPUdBnPQn7AMxHXsoZ6eWwZW/as/RwatrzL r9kR8uuVfYMjm1iZXvj/n7S0Z+WHcRlZLXgLmjxK9Zavqe0syb022L+LGMsPO9OdrIMm Bo8LwczOIFyXidyQa1SjX9sKrJgRscGvnGCvsPI5wQ5mEf7DVIMqzjfv74zaD565n7EP hnSw== X-Gm-Message-State: AOJu0YxQR3vleuQJ98b96I5HNXe44VBX40PnULWpmMUTpZ0EERpjTn8K wOHT2heUUBuluxwYbrlvACOXqoGb4LGSC8ufIPMocg== X-Received: by 2002:a05:6512:1586:b0:509:1ecb:5a04 with SMTP id bp6-20020a056512158600b005091ecb5a04mr22284312lfb.19.1699268339223; Mon, 06 Nov 2023 02:58:59 -0800 (PST) Received: from poulhies-Precision-5550.lan ([2001:861:3382:1a90:abca:bb6b:751b:a141]) by smtp.gmail.com with ESMTPSA id t8-20020a5d42c8000000b00327cd5e5ac1sm9201305wrr.1.2023.11.06.02.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:58:58 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> Subject: [PATCH] testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib Date: Mon, 6 Nov 2023 11:57:16 +0100 Message-ID: <20231106105831.3861671-1-poulhies@adacore.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781812026920827758 X-GMAIL-MSGID: 1781812026920827758 |
Series |
testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Marc Poulhiès
Nov. 6, 2023, 10:57 a.m. UTC
Using newlib produces a different codegen because the support for c99 differs (see libc_has_function hook). gcc/testsuite/ChangeLog: * gcc.target/i386/pr106910-1.c: Disable for newlib. --- Tested on x86_64-linux and x86_64-elf. OK for master? gcc/testsuite/gcc.target/i386/pr106910-1.c | 2 ++ 1 file changed, 2 insertions(+)
Comments
Marc Poulhiès <poulhies@adacore.com> writes: > Using newlib produces a different codegen because the support for c99 > differs (see libc_has_function hook). > > gcc/testsuite/ChangeLog: > > * gcc.target/i386/pr106910-1.c: Disable for newlib. > --- > Tested on x86_64-linux and x86_64-elf. > > OK for master? > > gcc/testsuite/gcc.target/i386/pr106910-1.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gcc/testsuite/gcc.target/i386/pr106910-1.c b/gcc/testsuite/gcc.target/i386/pr106910-1.c > index c7685a32183..00c93f444b6 100644 > --- a/gcc/testsuite/gcc.target/i386/pr106910-1.c > +++ b/gcc/testsuite/gcc.target/i386/pr106910-1.c > @@ -1,4 +1,6 @@ > + > /* { dg-do compile { target { ! ia32 } } } */ > +/* { dg-skip-if "newlib libc math causes different codegen" { newlib } } */ > /* { dg-options "-msse4.1 -O2 -Ofast" } */ > /* { dg-final { scan-assembler-times "roundps" 9 } } */ > /* { dg-final { scan-assembler-times "cvtps2dq" 1 } } */ Ping. Thanks, Marc
On Nov 6, 2023, at 2:57 AM, Marc Poulhiès <poulhies@adacore.com> wrote: > > Using newlib produces a different codegen because the support for c99 > differs (see libc_has_function hook). > > gcc/testsuite/ChangeLog: > > * gcc.target/i386/pr106910-1.c: Disable for newlib. > --- > Tested on x86_64-linux and x86_64-elf. > > OK for master? Ok, but nix the first blank line? > gcc/testsuite/gcc.target/i386/pr106910-1.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gcc/testsuite/gcc.target/i386/pr106910-1.c b/gcc/testsuite/gcc.target/i386/pr106910-1.c > index c7685a32183..00c93f444b6 100644 > --- a/gcc/testsuite/gcc.target/i386/pr106910-1.c > +++ b/gcc/testsuite/gcc.target/i386/pr106910-1.c > @@ -1,4 +1,6 @@ > + This one. > /* { dg-do compile { target { ! ia32 } } } */ > +/* { dg-skip-if "newlib libc math causes different codegen" { newlib } } */ > /* { dg-options "-msse4.1 -O2 -Ofast" } */ > /* { dg-final { scan-assembler-times "roundps" 9 } } */ > /* { dg-final { scan-assembler-times "cvtps2dq" 1 } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr106910-1.c b/gcc/testsuite/gcc.target/i386/pr106910-1.c index c7685a32183..00c93f444b6 100644 --- a/gcc/testsuite/gcc.target/i386/pr106910-1.c +++ b/gcc/testsuite/gcc.target/i386/pr106910-1.c @@ -1,4 +1,6 @@ + /* { dg-do compile { target { ! ia32 } } } */ +/* { dg-skip-if "newlib libc math causes different codegen" { newlib } } */ /* { dg-options "-msse4.1 -O2 -Ofast" } */ /* { dg-final { scan-assembler-times "roundps" 9 } } */ /* { dg-final { scan-assembler-times "cvtps2dq" 1 } } */