This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DW_EH_PE_aligned handling


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]