This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 20505
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: James E Wilson <wilson at specifixinc dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 30 Mar 2005 13:28:26 +0100
- Subject: Re: PR 20505
- Organization: Codesourcery LLC
- References: <42414AB9.1020504@codesourcery.com> <424A0B0B.4060901@specifixinc.com>
James E Wilson wrote:
Nathan Sidwell wrote:
My inclination is to simply add an additional check in the dwarf
outputter,
verifying that the initializer is indeed an INT_CST.
That is a simple solution, but it causes us to lose debug info.
correct -- but we also don't output such info for out-of-class definitions
of such constants (i.e. we're already somewhat deficient).
TREE_INT_CST_{LOW,HIGH}. That should be safe. On mainline, I think we
should try supporting everything here and see what happens.
Makes sense.
Being conservative I'd go for my patch on 4.0 and yours (if verified) on
mainline.
thanks for your comments.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk