From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 4F8C23870850 for ; Mon, 20 Apr 2020 14:30:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F8C23870850 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-86-wAOAI13eOC2FFdTBbg9uYw-1; Mon, 20 Apr 2020 10:30:24 -0400 X-MC-Unique: wAOAI13eOC2FFdTBbg9uYw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C52F419357A8; Mon, 20 Apr 2020 14:30:22 +0000 (UTC) Received: from localhost (unknown [10.33.36.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BA165C1BB; Mon, 20 Apr 2020 14:30:22 +0000 (UTC) Date: Mon, 20 Apr 2020 15:30:21 +0100 From: Jonathan Wakely To: Matthias Kretz Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [PATCH] Avoid illegal argument to verbose in dg-test callback Message-ID: <20200420143021.GZ71320@redhat.com> References: <2031740.irdbgypaU6@minbar> MIME-Version: 1.0 In-Reply-To: <2031740.irdbgypaU6@minbar> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, score=-16.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 14:30:28 -0000 On 16/04/20 15:21 +0200, Matthias Kretz wrote: >From: Matthias Kretz > >If extra_tool_flags starts with a dash, an error like 'ERROR: verbose: >illegal argument: -march=3Dnative -O2 -std=3Dc++17' is printed. This is >easily fixed by inserting a double dash before the variable. > > * testsuite/lib/libstdc++.exp: Avoid illegal argument to > verbose. Committed, thanks.