This is the mail archive of the gcc-patches@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: Bit-field patch, part 1


On Thu, 18 Dec 2003, Kazu Hirata wrote:

> With this patch, I get a hard error while building libiberty for
> h8300-hms because "unsigned int" is 16-bit wide on h8300 port
> depending on options.  The attached patch makes h8300 port buildable
> once again.  Does it look reasonable?  If so, should it be applied to
> CVS in sources.redhat.com?  I've never dealt with libiberty, so don't
> beat me if I am doing something stupid. :-)

As a host file in libiberty, it probably can't use unsigned long
bit-fields, as anything other than int or unsigned int is unportable - but
hosts for GNU software need at least 32-bit int.  What target code is
using this header?

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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