From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18804 invoked by alias); 15 Oct 2010 22:48:14 -0000 Received: (qmail 18782 invoked by uid 22791); 15 Oct 2010 22:48:12 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Oct 2010 22:48:07 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9FMm5ku029781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Oct 2010 18:48:05 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9FMm5Zm030015; Fri, 15 Oct 2010 18:48:05 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o9FMm4of031544; Fri, 15 Oct 2010 18:48:05 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 70509C883D5; Fri, 15 Oct 2010 16:48:04 -0600 (MDT) From: Tom Tromey To: sami wagiaalla Cc: gdb-patches@sourceware.org Subject: Re: [patch 2/2] Fix overload resolution of int* vs void* References: <4C7BCD42.9070308@redhat.com> <4CAF6B73.5090800@redhat.com> <8339sgo1jl.fsf@gnu.org> <4CAF889C.1080404@redhat.com> <4CB4BE8D.1000001@redhat.com> <4CB5CD25.7080803@redhat.com> <4CB8691D.3000209@redhat.com> Date: Fri, 15 Oct 2010 22:48:00 -0000 In-Reply-To: <4CB8691D.3000209@redhat.com> (sami wagiaalla's message of "Fri, 15 Oct 2010 10:45:49 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00256.txt.bz2 >>>>> "Sami" == sami wagiaalla writes: Sami> Having typed this out, I think POINTER_CONVERSION_BADNESS should be Sami> renamed to BOOL_PTR_CONVERSION_BADNESS and given a rank of 3. And all Sami> other conversions outlawed. I'll do this in and test it another Sami> patch. This patch really only deals with the first clauses of the Sami> nested switch statements. Sami> Patch attached as promised. Sami> Support pointer to bool conversion. Ok. Thanks. Tom