This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DW_EH_PE_aligned handling
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Dec 2001 12:42:32 -0800
- Subject: Re: DW_EH_PE_aligned handling
- References: <20011212200342.M1017@sunsite.ms.mff.cuni.cz>
On Wed, Dec 12, 2001 at 08:03:42PM +0100, Jakub Jelinek wrote:
> Is DW_EH_PE_aligned only meaningful if not ored with any of the low 4 bit
> values?
Yes. It is only meaningful as an absolute encoding.
> Wouldn't it be better to handle DW_EH_PE_aligned as
> if ((encoding & 0x70) == DW_EH_PE_aligned)
What would you do with it? Since DW_EH_PE_aligned overlaps the
other base encodings, the value can only be absolute. At which
point you're pretty much stuck with sizeof(void*).
r~