With newer llvm,
emerge-daisy mosys
armv7a-cros-linux-gnueabi-clang -Imosys@sta -I. -I../mosys-1.2.3 -I../mosys-1.2.3/include -I/build/daisy/usr/include/uuid -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -include config.h -std=gnu99 -Wno-address-of-packed-member -Werror -fPIC -MMD -MQ 'mosys@sta/platform_auron_gpio.c.o' -MF 'mosys@sta/platform_auron_gpio.c.o.d' -o 'mosys@sta/platform_auron_gpio.c.o' -c ../mosys-1.2.3/platform/auron/gpio.c
../mosys-1.2.3/platform/auron/gpio.c:73:2: error: array index 96 is past the end of the array (which contains 96 elements) [-Werror,-Warray-bounds]
platform_gpio_map[num_of_gpio + 1].name = NULL;
^ ~~~~~~~~~~~~~~~
../mosys-1.2.3/platform/auron/gpio.c:51:1: note: array 'platform_gpio_map' declared here
static struct gpio_map platform_gpio_map[num_of_gpio + 1];
^
1 error generated.
Comment 1 by bugdroid1@chromium.org
, May 11 2018