From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28817 invoked by alias); 30 Oct 2018 10:03:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 28786 invoked by uid 89); 30 Oct 2018 10:03:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Oct 2018 10:03:50 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BAEB781F09; Tue, 30 Oct 2018 10:03:48 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5656B5D757; Tue, 30 Oct 2018 10:03:48 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id w9UA3jJc013963; Tue, 30 Oct 2018 11:03:46 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id w9UA3gcp013962; Tue, 30 Oct 2018 11:03:42 +0100 Date: Tue, 30 Oct 2018 10:32:00 -0000 From: Jakub Jelinek To: Martin =?utf-8?B?TGnFoWth?= Cc: Alexander Monakov , gcc-patches@gcc.gnu.org, Nathan Sidwell , Jason Merrill , Paul Richard Thomas , Martin Jambor Subject: Re: [PATCH][RFC] Sanitize equals and hash functions in hash-tables. Message-ID: <20181030100342.GN11625@tucnak> Reply-To: Jakub Jelinek References: <23ffca95-6492-e609-aebb-bbdd83b5185d@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg01885.txt.bz2 On Mon, Oct 29, 2018 at 04:14:21PM +0100, Martin Liška wrote: > +hashtab_chk_error () > +{ > + fprintf (stderr, "hash table checking failed: " > + "equal operator returns true for a pair " > + "of values with a different hash value"); BTW, either use internal_error here, or at least if using fprintf terminate with \n, in your recent mail I saw: ...different hash valueduring RTL pass: vartrack ^^^^^^ > + gcc_unreachable (); > +} Jakub