Re: RFA: unbreak typedefed bitfield

Daniel Jacobowitz
2009-12-21T17:15:13Z

On Mon, Dec 21, 2009 at 10:08:38AM -0700, Tom Tromey wrote:
> You could try:
>
> #define TYPE_LENGTH(thistype) check_typedef (thistype)->length
>
> While this is probably insufficient to fix the check_typedef problem in
> general, it may help with the most common source of problems.

TYPE_LENGTH (type) = DW_UNSND (attr);

That's likely to cause some trouble.

--
Daniel Jacobowitz
CodeSourcery