]> gcc.gnu.org Git - gcc.git/commit
AVR: Tidy up gen-avr-mmcu-specs.cc
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Feb 2024 13:11:34 +0000 (14:11 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Feb 2024 13:18:28 +0000 (14:18 +0100)
commitce915cab745d1ef19a69911d6b89e4fb1bee2644
tree0340314257ed3271b78119b227e34a16ad31f4f7
parentd2798598c4fcf2281921df3c2b7b1d16a171fa03
AVR: Tidy up gen-avr-mmcu-specs.cc

Some information was (re-)computed in different places.
This patch computes them in new struct McuInfo and passes
it around in order to provide the information.

gcc/
* config/avr/gen-avr-mmcu-specs.cc (struct McuInfo): New.
(main, print_mcu, diagnose_mrodata_in_ram): Pass it down.
gcc/config/avr/gen-avr-mmcu-specs.cc
This page took 0.058937 seconds and 5 git commands to generate.