c/6300: [PATCH] sparcv9-sun-solaris2.7 gcc-3.1 C testsuite failure in gcc.dg/cpp/charconst.c

Neil Booth neil@daikokuya.demon.co.uk
Sun Apr 21 23:56:00 GMT 2002


The following reply was made to PR c/6300; it has been noted by GNATS.

From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Zack Weinberg <zack@codesourcery.com>
Cc: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>, 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.



More information about the Gcc-prs mailing list