a535d24ecf
This prevents gcc from incorrectly trying to validate array bounds. ``` tmk_core/common/chibios/bootloader.c: error: '__builtin_memcpy' offset [0, 21] is out of the bounds [0, 0] [-Werror=array-bounds] 107 | __builtin_memcpy((void *) VBAT, (const void *)sys_reset_to_loader_magic, sizeof(sys_reset_to_loader_magic)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c16 Fixes #12925 |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
action.c | ||
action.h | ||
action_code.h | ||
action_layer.c | ||
action_layer.h | ||
action_macro.c | ||
action_macro.h | ||
action_tapping.c | ||
action_tapping.h | ||
action_util.c | ||
action_util.h | ||
atomic_util.h | ||
bootloader.h | ||
debug.c | ||
debug.h | ||
eeconfig.c | ||
eeconfig.h | ||
eeprom.h | ||
gpio.h | ||
host.c | ||
host.h | ||
host_driver.h | ||
keyboard.c | ||
keyboard.h | ||
keycode.h | ||
lib_printf.mk | ||
nodebug.h | ||
pin_defs.h | ||
print.h | ||
printf.c | ||
progmem.h | ||
raw_hid.h | ||
report.c | ||
report.h | ||
sendchar.h | ||
sendchar_null.c | ||
sendchar_uart.c | ||
sleep_led.h | ||
suspend.h | ||
sync_timer.c | ||
sync_timer.h | ||
timer.h | ||
usb_util.c | ||
usb_util.h | ||
virtser.h | ||
wait.h |