From patchwork Thu Oct 17 10:27:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 1178447 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511200-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gjlay.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="e2nALYWr"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gjlay.de header.i=@gjlay.de header.b="KNCm8zht"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46v52g26hnz9sNx for ; Thu, 17 Oct 2019 21:27:37 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=wy0c3XSUBuVjNUXh qpKQE4tRAmirysCvGW+4iy/9oi2Ux61S1FzsMEs8PrBa5CFWRycCAM1YpR4+WZUi kH6QlSYPsSQAcZ9c1huipNJmof8wVx7mvJv6A3O9XE1n7l3tZLLPD5bSBFz9o7ps y4jdwYShJZfSRvPrx6N7LgxpiDE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=0wbLIgCKYgFSykj1qXOojM 6TQ0w=; b=e2nALYWrEsJPb/0uaO7rjR197/rgXk5+8VqtH3Qp6GBz3gY5vm8ezH N1LGqTo1r1FoytcuinwUfVkuTSx0A40WtLyUh9IlmlcdMSjEkTzr5UWe2KbYl/ji OJb5KhhEGkS+D8FaxHrXyXZMpX2AhP9Z9mtoddS8wSEkWxEc72MLo= Received: (qmail 45376 invoked by alias); 17 Oct 2019 10:27:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 45368 invoked by uid 89); 17 Oct 2019 10:27:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*r:Client, H*r:present, H*r:did X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (85.215.255.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Oct 2019 10:27:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1571308046; s=strato-dkim-0002; d=gjlay.de; h=Date:Message-ID:Subject:From:Cc:To:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=w/4l6CEElgP0RAvdgLVNQ7od3U6/40XEScuGzFUsFo0=; b=KNCm8zht7EYhW0fFbNUWOZ3t2+u5Q/w855k3rjNxbGSiD6LkPRIHAFHjkrFc8HNiZT tdBoS7Pw0DhH4c+639Z3tmFwpEXY2wdVbsH1UnYKMVS73OEa7fvn5FTEP7ArDiAL3hkt jzVbPLk9h9WpzHXkoQEFk0zqdre1StcfxD6275Y9p9G08PsVAcD9trq+oiT0CjMTHCEz Mpsjwiim1cuvim227kyEKF68ILPqdDdFMNCz/YB/ZGldXhsxDzO98ZIdbAnij5mE88kM xKnceXrNfXsEJksegHiIjgAmRaKCMP/kNKOE48yf2imGDetBbb/3BCZK8EJBR+rHNdtZ /ZuA== Received: from [192.168.114.100] by smtp.strato.de (RZmta 44.28.1 DYNA|AUTH) with ESMTPSA id t01740v9HARQ3qg (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 17 Oct 2019 12:27:26 +0200 (CEST) To: gcc-patches@gcc.gnu.org Cc: Denis Chertykov From: Georg-Johann Lay Subject: [patch, avr, testsuite, committed]: Fix location of an expected diagnostic. Message-ID: <790a4096-78b2-fde5-51df-82f375e66398@gjlay.de> Date: Thu, 17 Oct 2019 12:27:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi, committed this patchlet that fixes a test case. Johann * gcc.target/avr/progmem-error-1.cpp: Fix location of the expected diagnostic. -/* { dg-error "must be const" "" { target avr-*-* } 1 } */ +char str[] PROGMEM = "Hallo"; /* { dg-error "must be const" "" { target avr-*-* } } */ Index: gcc.target/avr/progmem-error-1.cpp =================================================================== --- gcc.target/avr/progmem-error-1.cpp (revision 277095) +++ gcc.target/avr/progmem-error-1.cpp (revision 277096) @@ -2,7 +2,4 @@ #include "progmem.h" -char str[] PROGMEM = "Hallo"; -/* This is the line number of the PROGMEM definition in progmem.h. Keep it - absolute. */