From patchwork Mon Nov 27 18:02:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 80839 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E1F69385AC21 for ; Mon, 27 Nov 2023 18:02:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id C7AC2385770A for ; Mon, 27 Nov 2023 18:02:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7AC2385770A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7AC2385770A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701108142; cv=none; b=k4zrIi/5HeKPaLibszJOMpXgZtcWicHYyBQZ7kbZXS7sAz6NgTnJIgD7DjI7fQM9PgnDTnpeyQvr7Wt0bz786pqqpD3ZIYXVxzC4QIlUNlhB3n1AR9eKyk3UYMfjcLobNOktBKMgnAOxe6PCJhMnOwwXPsQ7JACH/tJAiJT3fRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701108142; c=relaxed/simple; bh=5gMxPOBUSuwYBsn2OEwbUQ7t5tC/4zzW0ijxVPcEtQc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=WzM5LCsTzlySwLKXt7oQAzQ5XyevUAiHUfgS3epktSntzYQcxjCcb3V+1IB9A2B9FPZCvEdYjLpYPNteTzE4SiJAEyBxax86v5vdgJonoSo1nZzvoZNar3k9ewAXUOKAgy2n5ciZJE9kUf0eDnOpf2Hr83l9NwDWytWBQ71Op9E= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C370A2F4; Mon, 27 Nov 2023 10:03:07 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9156A3F5A1; Mon, 27 Nov 2023 10:02:19 -0800 (PST) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [committed] arm: libgcc: tweak warning from __sync_synchronize Date: Mon, 27 Nov 2023 18:02:09 +0000 Message-Id: <20231127180209.548531-1-rearnsha@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org My previous patch to add an implementation of __sync_syncrhonize with a warning trips a testsuite failure in fortran (and possibly other languages as well) as the framework expects no blank lines in the output, but this warning was generating one. So remove the newline from the end of the message and rely on the one added by the linker instead. Since we're there, remove the trailing period from the message as well, since the convention seems to be not to have one. libgcc/ * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message. --- libgcc/config/arm/lib1funcs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S index 78887861616..40e9a7a87fb 100644 --- a/libgcc/config/arm/lib1funcs.S +++ b/libgcc/config/arm/lib1funcs.S @@ -2214,7 +2214,7 @@ LSYM(Lchange_\register): .ascii "no effect. Relink with\n" .ascii " -specs=sync-{none,dmb,cp15dmb}.specs\n" .ascii "to specify exactly which barrier format to use and avoid " - .ascii "this warning.\n\0" + .ascii "this warning\0" #endif #endif #endif