[PATCH,v2] [sim] Fix build failure in d10v sim

Luis Machado luis.machado@linaro.org
Wed May 12 03:59:04 GMT 2021


On 5/11/21 6:54 PM, Mike Frysinger wrote:
> On 11 May 2021 10:07, Luis Machado wrote:
>> +  /* Make sure we have the right structure for the following memset.  */
>> +  _Static_assert ((uintptr_t) &State == (uintptr_t) &State.regs,
>> +		  "&State != &State.regs");
> 
> we require C11, so you can include assert.h & use static_assert().
> -mike
> 

Pushed with that change. Thanks!


More information about the Gdb-patches mailing list