]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: Disable generation of CRC lookup tables.
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 6 Dec 2024 10:52:16 +0000 (11:52 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Fri, 6 Dec 2024 13:44:16 +0000 (14:44 +0100)
commit2b44b11cae6847893bf4b7bc327d0d2913588006
tree35a12b3e94ab0265e58e9e61e8c8c6569abce15e
parentb317dca04e3ffb31144f79cb804ff6835c2a9af8
AVR: Disable generation of CRC lookup tables.

With -foptimize-crc, large lookup tables may be generated which
are places in .rodata (RAM).  This patch disables such tables.

gcc/
* common/config/avr/avr-common.cc
(avr_option_optimization_table): Default to -fno-optimize-crc.
gcc/common/config/avr/avr-common.cc