From patchwork Mon Apr 8 08:00:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 1920678 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=idCedtGh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4VChNq1DGCz1yYT for ; Mon, 8 Apr 2024 18:00:57 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BB2DA3858C50 for ; Mon, 8 Apr 2024 08:00:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 6C25D3858D28 for ; Mon, 8 Apr 2024 08:00:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C25D3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6C25D3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::330 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712563228; cv=none; b=plEBlcxdhVDrgiuYlrZ8m1fcIY1y3cyI5/YF7JAdtHyWKQVb/60ficrB9TawLkhBhQyckJIRDuJxfrxDAxofTpE4uOR7uQKIQpKunuFqwGLBxmlHkXgKrkEiL0812OSbGRyeTn7FMMbn9aM6ojaSBuMi2Vui9E/dARegP06BKrk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712563228; c=relaxed/simple; bh=jbl5GpL2IMncIaqwaCqi7KYUT4Tpz/lMNrAmRDFP//Y=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=oIMiIFX9y4HstS529FkFx4E0MsgfnQGof+f6tNywzU2wREIQDJgeYqOTN4FwK/uCrrdg12R5v8fSfYGqWbQpkymMM2ldWG/X1Lbetrl2bnm8WckDYoWqe3sOcfx1F6mWvx5mv/Ps4CmWWx6aGHRFRvdOCWX3YVba43UhHk/oJIo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-41551639550so28885655e9.2 for ; Mon, 08 Apr 2024 01:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712563224; x=1713168024; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=h3AdkYGCuJ8LnygzZYPeMYdJG3ZsxTSR+Fqt9TnZtZA=; b=idCedtGhnmi6cCxfBFxKBLkoXHczHY9Ga9qSWFZgcf5+I8LUGkvCnguwgu+DIhsF7x 1je9cG10HnLUGFLKsHm+2aXQMGbimAvOQl+6FlSQ95fSiS+6jj92g0OSLKayTC2H2yho oUXTnEcpN345vfFovtCIANsSbFbYRddFecP4RC8Qjl706Vvkej73t87xlL0dprQTprYz Gvu6bsNGH70Nz2fO8/uO0fTBnSUscueSyEnCD+1T25YOS9HllWcBPKXzdwx5s+sU3r/7 T0HJ0QjkXGeXNiS9sG+Gq+GC7CrjJwv7lkqXpnvIHzAvG32vC6qwLAejWmMsO/EsSTA8 fojA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712563224; x=1713168024; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h3AdkYGCuJ8LnygzZYPeMYdJG3ZsxTSR+Fqt9TnZtZA=; b=Q6449TJ8NaFGKKKB5SIjuFStrlr/uihClBzO2lcyJMlJw/fqGi3qarnOaA2Bp4SNBC S6RVcklZbZDrJvswchU5vL+t3hrsRSRZU2dRbfpH2qSwwzf7dFdLD6ufqtd00gmoVf6n i0chfDNn7kKjMYqUE7O70Z/AMWqQcZaa5rJRX5Vm+CTa5bXZtXGCH4K3rGCK+1kDGLwh k3pZGjv8h5v7AYFl/mQQs7CzaKMqhCNAauRjSQVlBlNPfXeo93h4iS4MnrlOkqYADGsM tk1qnrxYo3VYJTj6vH59bMr6f1Es7dprymlJeQYPuipTUwQMirQuXlxzwE0DjPNwi18d Y3hg== X-Gm-Message-State: AOJu0YxhekD6C/0E+eAXLVMjahE32AcYMa9US2RyHWMZXpnXiZRxYUJV mZ6lSTvOTf9UcnbS//JaMNQKJthJ3HOf+OIZzlyLmNUWMAT/uacklrGnYcc9 X-Google-Smtp-Source: AGHT+IGcUBQ4y5NafX9f/ZpEJh/01ahNagFwZh8CBz2ZNcaLh3egkkzYRWHhdf6QGRMXK+iXmXGTbA== X-Received: by 2002:a05:600c:3496:b0:416:34c0:de9 with SMTP id a22-20020a05600c349600b0041634c00de9mr4702555wmq.29.1712563223638; Mon, 08 Apr 2024 01:00:23 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id v19-20020a05600c471300b004157ff88ad7sm12474006wmo.7.2024.04.08.01.00.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 08 Apr 2024 01:00:23 -0700 (PDT) From: Iain Sandoe X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] Darwin: Sync coverage specs with gcc/gcc.cc. Date: Mon, 8 Apr 2024 09:00:22 +0100 Message-Id: <20240408080022.31005-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: iain@sandoe.co.uk Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Tested on x86_64 and aarch64 Darwin, pushed to trunk, thanks, Iain --- 8< --- The specs for coverage ere out of date leading to test fails for fcondition-coverage cases. Fixed by updating to match the specs in gcc/gcc.cc. gcc/ChangeLog: * config/darwin.h (LINK_COMMAND_SPEC_A): Update coverage specs. Signed-off-by: Iain Sandoe --- gcc/config/darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 31019a0c49d..c09b9e9dc94 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -406,7 +406,7 @@ extern GTY(()) int darwin_ms_struct; %{!r:%{!nostdlib:%{!nodefaultlibs: " DARWIN_WEAK_CRTS "}}} \ %o \ %{!r:%{!nostdlib:%{!nodefaultlibs:\ - %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ + %{fprofile-arcs|fcondition-coverage|fprofile-generate*|coverage:-lgcov} \ %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): \ %{static|static-libgcc|static-libstdc++|static-libgfortran: \ libgomp.a%s; : -lgomp }} \