From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id 033B6386185F for ; Mon, 1 Mar 2021 15:26:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 033B6386185F Received: by mail-oi1-x22f.google.com with SMTP id l133so18393872oib.4 for ; Mon, 01 Mar 2021 07:26:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=K1rVo1WPOMtAXBnaQMGjpU/eoCsOw45jXxuXsf2RcW4=; b=Vc+1MbpmbbGL9kdQVYi1NrfGm1bY2Zm7sSg00d67Sleh1lTsUgSSj/yZ4gl1ANNI19 GZDFS7XrPtyvVdWkpEQOgWJFMkRwuW8sovY6xl0ne/iNH7kV94XcwHlgHUSVC66Djn32 U/fqslPd6BTZKAayr2ajN4S+FI3muES4SwFrWrt5mlS0xx+8EBLYDmC2Ztv8tErbQS5H O43ScWVxdZtMM+dyb8WvL5PeEb3onhsA5Zi7RNXz1hGJ2k2jbz6B/Fv/XlKMb+ike8ZH pzAm5FKrpn7j+1QSRjTja3JmrvD5ATbFHtysyuwG0pxpg5f43y19Z6EY1Qvs1VnoOGbF ieng== X-Gm-Message-State: AOAM532hh9ngtjMtDBMJO/luuG+Ck3n2PyugoElwii4zXLVDCIx50jYO gTVw9X0ghon+U6dapFQfA5c/ZK2lkJen7TZJlN/TbPg0pDY= X-Google-Smtp-Source: ABdhPJwB/MWV+8VzXBquMaLZzvUcgUe/UJmpLhGAhbasoZXxfigAWI6CUupMRcSpCuuw6TrDUkuT2ehgb4uHxbjTzpw= X-Received: by 2002:aca:3383:: with SMTP id z125mr11938301oiz.48.1614612394066; Mon, 01 Mar 2021 07:26:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Christophe Lyon Date: Mon, 1 Mar 2021 16:26:23 +0100 Message-ID: Subject: Re: [arm/testsuite]: Skip pr97969.c if -mthumb is not compatible [PR target/97969] To: gcc Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:26:36 -0000 Ping? On Wed, 3 Feb 2021 at 10:01, Christophe Lyon wrote: > > Ping? > I guess that's obvious enough? > > On Wed, 27 Jan 2021 at 10:03, Christophe Lyon > wrote: > > > > Depending on how the toolchain is configured or how the testsuite is > > executed, -mthumb may not be compatible. Like for other tests, skip > > pr97969.c in this case. > > > > For instance arm-linux-gnueabihf and -march=armv5t in RUNTESTFLAGS. > > > > 2021-01-27 Christophe Lyon > > > > gcc/testsuite/ > > PR target/97969 > > * gcc.target/arm/pr97969.c: Skip if thumb mode is not available. > > > > diff --git a/gcc/testsuite/gcc.target/arm/pr97969.c > > b/gcc/testsuite/gcc.target/arm/pr97969.c > > index 714a1d1..0b5d07f 100644 > > --- a/gcc/testsuite/gcc.target/arm/pr97969.c > > +++ b/gcc/testsuite/gcc.target/arm/pr97969.c > > @@ -1,4 +1,5 @@ > > /* { dg-do compile } */ > > +/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */ > > /* { dg-options "-std=c99 -fno-omit-frame-pointer -mthumb -w -Os" } */ > > > > typedef a[23];