From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5668 invoked by alias); 14 Aug 2002 21:28:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5661 invoked from network); 14 Aug 2002 21:28:28 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 14 Aug 2002 21:28:28 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA20718 for ; Wed, 14 Aug 2002 14:24:37 -0700 (PDT) Message-ID: <3D5AC6F4.8D119BF4@redhat.com> Date: Wed, 14 Aug 2002 14:28:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [TESTSUITE] assert (char == signed char) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00353.txt.bz2 There seem to be some tests in the testsuite that are based on the assumption that chars are signed, and that will fail if they are unsigned. Eg: sizeof.exp: check valueof ((int) (char)) -1 == -1 (prints 255 if char == unsigned) pointers.exp: ptype pC (outputs "unsigned char *" if char == unsigned) Any thoughts? Should these be regularized to accept unsigned? Should it be based on a configure variable?