Message ID | ZqEuv4Wb23zacpqJ@tucnak |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=g9S0Akzv; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WTfth3y6tz1yZw for <incoming@patchwork.ozlabs.org>; Thu, 25 Jul 2024 02:42:04 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4E4003858C48 for <incoming@patchwork.ozlabs.org>; Wed, 24 Jul 2024 16:42:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id E2AF43858D29 for <gcc-patches@gcc.gnu.org>; Wed, 24 Jul 2024 16:41:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E2AF43858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E2AF43858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721839304; cv=none; b=NZEzgvuMN03qoTRbAVJ6klVlAToqSEzgdT/tDutNhQirW9g20stE++qSNQamOFqdq/GzaSC71z38ewO0NMEzota4z6vwRrKtntxbAZP/NZ8E6fuj9OKk8kK8qGmIfpNLsHUA7XvdtddoAjxuNiWTDtgos0lU3iEi64vuwiAp0GE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721839304; c=relaxed/simple; bh=89VxsIl2LRtTXraOXHuA0WhowsRdqQxBnmFsh9rhYV4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=YO9u52cYGH/AcNYDhkLMbMT8HyWeXgaG5rPTkThX4XfFR1nQrJVFwMFlSJcH148p/DC3moP4T5bzOAlF0VYiqGAfGUQRcvL+yw9nFqYhYcbfWCHXckmbmsIAdXQ8WUg+fdZj8ViQAomfTumAWIusQhS8/VjPailhJzpKMofaXWY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721839301; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=Zt/+Mth/u/gHWApNjuuzYL3s1XFoAM8JpJkb/9EctmA=; b=g9S0Akzv//tuMM9ldJxi1pg+j45PO73uTlQFW99yEJxmo1ATat3qNVv8Ps0pZs0XhHC2p+ wiPP5oR02V2CVoMPVWDspdBZ86Jc/cQQrNKRNNHDOWJDNrtXB/K6Czhpq+LiONPnRnHefX aqx3erlqMubOLYzwxYBW8pK1HwvqyvA= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-70-jooM-lA_OK2N0hRNsZuEAQ-1; Wed, 24 Jul 2024 12:41:40 -0400 X-MC-Unique: jooM-lA_OK2N0hRNsZuEAQ-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1BEC01944A85 for <gcc-patches@gcc.gnu.org>; Wed, 24 Jul 2024 16:41:39 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.25]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 700AF1955F40 for <gcc-patches@gcc.gnu.org>; Wed, 24 Jul 2024 16:41:38 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 46OGfZQo3396777 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Wed, 24 Jul 2024 18:41:35 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 46OGfZon3396776 for gcc-patches@gcc.gnu.org; Wed, 24 Jul 2024 18:41:35 +0200 Date: Wed, 24 Jul 2024 18:41:35 +0200 From: Jakub Jelinek <jakub@redhat.com> To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up pr116034.c test for big/pdp endian [PR116061] Message-ID: <ZqEuv4Wb23zacpqJ@tucnak> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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> Reply-To: Jakub Jelinek <jakub@redhat.com> Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[committed] testsuite: Fix up pr116034.c test for big/pdp endian [PR116061]
|
expand
|
--- gcc/testsuite/gcc.dg/pr116034.c.jj 2024-07-23 10:50:10.878953531 +0200 +++ gcc/testsuite/gcc.dg/pr116034.c 2024-07-24 17:57:37.377829853 +0200 @@ -2,12 +2,13 @@ /* { dg-do run } */ /* { dg-options "-O1 -fno-strict-aliasing" } */ -int g; +unsigned short int g; static inline int foo (_Complex unsigned short c) { - __builtin_memmove (&g, 1 + (char *) &c, 2); + if (__SIZEOF_SHORT__ == 2) + __builtin_memmove (&g, 1 + (char *) &c, 2); return g; }