From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27799 invoked by alias); 22 Apr 2002 06:56:02 -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 27776 invoked by uid 71); 22 Apr 2002 06:56:01 -0000 Date: Sun, 21 Apr 2002 23:56:00 -0000 Message-ID: <20020422065601.27773.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: c/6300: [PATCH] sparcv9-sun-solaris2.7 gcc-3.1 C testsuite failure in gcc.dg/cpp/charconst.c Reply-To: Neil Booth X-SW-Source: 2002-04/txt/msg01099.txt.bz2 List-Id: The following reply was made to PR c/6300; it has been noted by GNATS. From: Neil Booth To: Zack Weinberg Cc: "Kaveh R. Ghazi" , gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: c/6300: [PATCH] sparcv9-sun-solaris2.7 gcc-3.1 C testsuite failure in gcc.dg/cpp/charconst.c Date: Mon, 22 Apr 2002 07:53:19 +0100 Zack Weinberg wrote:- > The problem is that cpp_interpret_charconst will happily pass back a > value wider than the mode we actually want, as long as it fits in > HOST_WIDE_INT. Thanks for figuring this out, Zack. However, this makes it sound like the correct fix is in cpp_interpret_charconst, no? Is this something that will get magically fixed when CPP arithmetic is done properly? Neil.