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: C++ PATCH for c++/65556 (ICE with switch and bit-fields)


On Mon, Mar 30, 2015 at 03:00:54PM +0100, James Greenhalgh wrote:
> Likewise on ARM. The testcase is fairly obviously not going to work
> for any target with 32-bit long:
> 
>   struct S
>   {
>     long l: 1;
>     long l2: 41;
>     unsigned long ul: 1;
>     unsigned long ul2: 41;
>   } s;
> 
>   .../c-c++-common/pr65556.c:9:3: error: width of 'ul2' exceeds its type

Patch to change s/long/long long/ preapproved, if it misbehaves the same
with Marek's patch reverted.

	Jakub


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