From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7830 invoked by alias); 6 May 2002 03:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7794 invoked by uid 71); 6 May 2002 03:16:01 -0000 Resent-Date: 6 May 2002 03:16:01 -0000 Resent-Message-ID: <20020506031601.7793.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, brian@talusmusic.com Received:(qmail 6272 invoked by uid 61); 6 May 2002 03:08:00 -0000 Message-Id:<20020506030800.6271.qmail@sources.redhat.com> Date: Sun, 05 May 2002 20:16:00 -0000 From: brian@talusmusic.com Reply-To: brian@talusmusic.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6568: g++3 (3.0.2) misinterpreting single byte hex constants X-SW-Source: 2002-05/txt/msg00138.txt.bz2 List-Id: >Number: 6568 >Category: c++ >Synopsis: g++3 (3.0.2) misinterpreting single byte hex constants >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun May 05 20:16:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Brian Ceccarelli >Release: g++3 3.0.2 (Red Hat LInux 7.2) >Organization: >Environment: Red Hat Linux 7.2 Intel x686 >Description: g++3 compiler is really screwing up the value of this hex constant. It is turning the single byte 'char' into a 4-byte integer, and then screwing up the conditional. >How-To-Repeat: Easy. Just run this 5 line program. >Fix: I don't know how to fix this one. Some one familiar with the compiler code is going to have to fix this. >Release-Note: >Audit-Trail: >Unformatted: