https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107035
Bug ID: 107035 Summary: [avr] internal compiler error: in add_clobbers, at config/avr/avr-dimode.md Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kovy3 at seznam dot cz Target Milestone: --- Created attachment 53626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53626&action=edit Preprocessed source, compiler command lines and err. output Hello, I would like to report an repeatable internal compiler error outputs with AVR-GCC 12.2.0 (and 12.1.0 too): during RTL pass*: combine Print.cpp: In function print.constprop.isra Print.cpp:112: internal compiler error in add_clobbers, at config\avr\avr-dimode.md 112 | } | ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source (by using -freport-bug) gcc.gnu.org\bugs\> for instructions lto-wrapper.exe*: fatal error: C:\Users\kovar\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\avr-gcc-12.2.0-x86-windows\bin\avr-gcc returned 1 exit status compilation terminated In opposite, I tested AVR-GCC 11.1 on the same source code with NO ERROR result. I'm attaching preprocessed source code and command line invocations with compiler output. Development env. platform: Windows 11 Target: AVR avr-gcc -v output: Using built-in specs. Reading specs from c:/users/kovar/appdata/local/arduino15/packages/arduino/tools/avr-gcc/avr-gcc-12.2.0-x86-windows/bin/../lib/gcc/avr/12.2.0/device-specs/specs-avr2 COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=c:/users/kovar/appdata/local/arduino15/packages/arduino/tools/avr-gcc/avr-gcc-12.2.0-x86-windows/bin/../libexec/gcc/avr/12.2.0/lto-wrapper.exe Target: avr Configured with: ../configure --prefix=/omgwtfbbq/avr-gcc-12.2.0-x86-windows --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --disable-libada --with-dwarf2 --disable-shared --enable-static --enable-mingw-wildcard --enable-plugin --with-gnu-as --host=i686-w64-mingw32 --build=x86_64-pc-linux-gnu Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC) Thanks, Petr