This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada character types : tree code and DW_AT_encoding
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: James E Wilson <wilson at specifix dot com>,Andrew Haley <aph at redhat dot com>
- Date: Sat, 13 Aug 2005 16:01:36 +0100
- Subject: Re: Ada character types : tree code and DW_AT_encoding
- References: <20050705104516.GG28288@adacore.com> <17147.10120.607040.768097@zapata.pink> <42FBAB76.6090908@specifix.com>
> A possible way to solve this problem is to add a single-bit flag to
> INTEGER_TYPE nodes that indicates whether this is actually a character
> type. Then dwarf2out.c could just check the flag to determine what
> debug info to emit. It looks like we have a number of flag bits that
> aren't being used in type nodes. This is much better than trying to do
> string matches against type names to determine what is a character type.
We already have TYPE_STRING_FLAG used on array types. Maybe it would it make
sense to use that?
Paul