esp-idf/tools/test_apps/system
Mahavir Jain 4aaf02b093
bootloader_support: fix stringop-overflow warning with PERF compiler optimization
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).

Build failure log:
-----------------

In function 'bootloader_common_reset_rtc_retain_mem',
    inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
  159 |     memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 10:42:11 +05:30
..
bootloader_sections bootloader_support: fix stringop-overflow warning with PERF compiler optimization 2022-09-05 10:42:11 +05:30
build_test uart: fixed sclk_freq not init warning when compiling with asserts disabled 2022-08-26 11:52:46 +08:00
cxx_build_test mcpwm: don't use keyword operator 2022-08-17 06:31:50 +00:00
cxx_no_except tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
eh_frame docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
flash_psram ci: increase test_flash_psram timeout 2022-08-19 12:13:00 +08:00
g0_components docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
g1_components esp_app_format: Fixed build errors and resolved dependencies 2022-08-17 10:59:31 +05:30
gdb_loadable_elf build system: re-add -Wno-format as private flag for some test_apps 2022-08-03 16:42:47 +04:00
longjmp_test build system: re-add -Wno-format as private flag for some test_apps 2022-08-03 16:42:47 +04:00
memprot Merge branch 'ci/system_apps_pytest' into 'master' 2022-08-01 16:45:09 +08:00
monitor_ide_integration CI: Migrate monitor IDE integration test to pytest 2022-08-09 18:09:56 +02:00
no_embedded_paths docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
panic tools: fix test_abort backtrace 2022-08-24 23:00:30 +04:00
startup docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00