Skip to content
Snippets Groups Projects
Commit ce915cab authored by Georg-Johann Lay's avatar Georg-Johann Lay
Browse files

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.
parent d2798598
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment