Module Name:    src
Committed By:   rin
Date:           Tue Sep 24 11:17:54 UTC 2024

Modified Files:
        src/sys/arch/luna68k/stand/boot: init_main.c

Log Message:
luna68k: stand: Silence GCC12 -Warray-bounds for main()

- LUNA1_BOOTINFOADDR (0x8c0) is in the 0-th page [0, 0x1000), which
  causes -Warray-bounds for GCC12 and later.
- LUNA2_BOOTINFOADDR (0x1d80) is also in the 0-th page, if we switch to
  8KB page.

Fix luna68k build with GCC12.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/luna68k/stand/boot/init_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to