This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix some gcc tests for 16-bit targets
- From: DJ Delorie <dj at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Feb 2014 15:01:54 -0500
- Subject: Re: RFA: Fix some gcc tests for 16-bit targets
- Authentication-results: sourceware.org; auth=none
- References: <8738jhvfgj dot fsf at redhat dot com>
> struct S
> {
> int f0:15;
> - int f1:29;
> + long int f1:29;
> };
IIRC if you change one field here, you need to change both as some
targets won't pack fields together if the types don't match.
Likewise for other struct-field cases.