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

Zack Weinberg zack@codesourcery.com
Mon Apr 22 14:46:00 GMT 2002


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

From: Zack Weinberg <zack@codesourcery.com>
To: Neil Booth <neil@daikokuya.demon.co.uk>
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 14:43:11 -0700

 On Mon, Apr 22, 2002 at 06:04:39PM +0100, Neil Booth wrote:
 > 
 > I meant using precision based on the target, not the host.
 
 Oh, right.  We could now do the "mask to correct size" trick; I don't
 have any better ideas short of a real arbitrary-precision library
 (which we need eventually but I'm not going there just now).
 
 > Do you have any ideas about handling target-dependence in cpplib?
 > 
 > Whatever we do, I hope we can contain it to a single, probably new,
 > file.
 
 I believe we ought to be able to do most of it by adding entries to
 the options structure, which are set by cc1 during initialization.
 GDB needn't bother initializing them, since it only needs the macro
 expander, and it will have the target-dependent macro values right
 there in the debug information.
 
 zw
 



More information about the Gcc-prs mailing list