https://gcc.gnu.org/g:230678c19cb5e2f8a4855b9790794042fc6ad068
commit r15-7588-g230678c19cb5e2f8a4855b9790794042fc6ad068 Author: Georg-Johann Lay <a...@gjlay.de> Date: Mon Feb 17 14:31:25 2025 +0100 AVR: ad target/118764 - Mention CVT availability in device-specs comment. gcc/ PR target/118764 * config/avr/gen-avr-mmcu-specs.cc (print_mcu) [has CVT]: Mention CVT in header comment of generated specs file. Diff: --- gcc/config/avr/gen-avr-mmcu-specs.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/avr/gen-avr-mmcu-specs.cc b/gcc/config/avr/gen-avr-mmcu-specs.cc index fa085efaae4b..05f2d0e1d4ac 100644 --- a/gcc/config/avr/gen-avr-mmcu-specs.cc +++ b/gcc/config/avr/gen-avr-mmcu-specs.cc @@ -74,7 +74,7 @@ static const char help_copy_paste[] = "# for a new device spec file, make sure you are copying from a specs file\n" "# for a device from the same or compatible:\n" "# compiler version, compiler vendor, core architecture, SP width,\n" - "# short-calls and FLMAP.\n" + "# short-calls, features like CVT and FLMAP.\n" "# Otherwise, errors and wrong or sub-optimal code may likely occur.\n" "# See <" WIKI_URL ">\n" "# and <" SPECFILE_USAGE_URL "> for a description\n" @@ -260,8 +260,9 @@ print_mcu (const avr_mcu_t *mcu, const McuInfo &mi) if (mi.is_arch) fprintf (f, "core architecture %s\n", mi.arch->name); else - fprintf (f, "device %s (core %s, %d-bit SP%s%s)\n", mi.mcu_Name, + fprintf (f, "device %s (core %s, %d-bit SP%s%s%s)\n", mi.mcu_Name, mi.arch->name, sp8 ? 8 : 16, rcall ? ", short-calls" : "", + mi.have_cvt ? ", CVT" : "", mi.have_flmap ? ", FLMAP" : ""); fprintf (f, "%s\n", header);