From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1035) id A77283858C2D; Mon, 27 Nov 2023 18:01:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A77283858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701108118; bh=fzSSjX9wT+Ubvc8JKe88/hr8jCojvlFtBNmAe4aRbQE=; h=From:To:Subject:Date:From; b=f3KuzxwMqlzPx4C1cv2MMY0sO3o6P7d32HngZyA5Uv9gpzds322wOQ3lQT/UcWcrI LEkao7K1JcVL1KNnOy5jW1n7VJMSq1rfDSoltOAOII+EWjLsYeM2x8JaSUIZ0iahT8 lJd8RfV8Cz/VGi6TRLi13axobt9Bf7Ypn4upxLrQ= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Richard Earnshaw To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-5891] arm: libgcc: tweak warning from __sync_synchronize X-Act-Checkin: gcc X-Git-Author: Richard Earnshaw X-Git-Refname: refs/heads/master X-Git-Oldrev: 2065438db4ac13af7e0de2f934959413647f74a7 X-Git-Newrev: eecdd96c8d1de244e21212a830e51062b3e444c5 Message-Id: <20231127180158.A77283858C2D@sourceware.org> Date: Mon, 27 Nov 2023 18:01:58 +0000 (GMT) List-Id: https://gcc.gnu.org/g:eecdd96c8d1de244e21212a830e51062b3e444c5 commit r14-5891-geecdd96c8d1de244e21212a830e51062b3e444c5 Author: Richard Earnshaw Date: Mon Nov 27 17:59:39 2023 +0000 arm: libgcc: tweak warning from __sync_synchronize 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. Diff: --- 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