From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102776 invoked by alias); 24 Mar 2018 20:07:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 102723 invoked by uid 89); 24 Mar 2018 20:07:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:391, HContent-Transfer-Encoding:8bit X-HELO: cc-smtpout3.netcologne.de Received: from cc-smtpout3.netcologne.de (HELO cc-smtpout3.netcologne.de) (89.1.8.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 24 Mar 2018 20:07:05 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id DA69C128E5; Sat, 24 Mar 2018 21:07:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id D631411DDB; Sat, 24 Mar 2018 21:07:02 +0100 (CET) Received: from [89.0.22.43] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 5ab6afe6-029d-7f0000012729-7f000001ab03-1 for ; Sat, 24 Mar 2018 21:07:02 +0100 Received: from [192.168.178.26] (xdsl-89-0-22-43.netcologne.de [89.0.22.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Sat, 24 Mar 2018 21:07:01 +0100 (CET) To: gcc@gcc.gnu.org Cc: David Malcolm From: Volker Reichelt Subject: Errors in pairs Message-ID: Date: Sat, 24 Mar 2018 20:07:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2018-03/txt/msg00231.txt.bz2 Hi everybody, while bug-hunting I noticed that we emit lots of erros in pairs in check_final_overrider (cp/search.c), e.g.:   error ("invalid covariant return type for %q+#D", overrider);   error ("  overriding %q+#D", basefn); I would expect the second line to be emitted as a note (using inform). Is there a reason for this or should that be changed? Regards, Volker