From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 44BF03858CDA; Sun, 25 Sep 2022 21:30:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44BF03858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664141450; bh=sBrJHkCIBphsyTjMHV7lPywpkvuED3e5R/XbDwgFuLo=; h=From:To:Subject:Date:From; b=t596YbuaaOqFIlkMW/Q1I7KHn8ZUbkVmBNV+lfeN4dsD9WU64KBj8wJvmxqhum0i3 PtFxcZC+itbgC6la57LzMaOc9yIzhY/HewbIEDd2qcpJ386bajQOkSuLKTVMXHMjwo XrmAiZy0+9CuUrZhS7FPlOFFyt0/WIzCaT/9XRrY= From: "kovy3 at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107035] New: [avr] internal compiler error: in add_clobbers, at config/avr/avr-dimode.md Date: Sun, 25 Sep 2022 21:30:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kovy3 at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107035 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=3D53626&action=3Dedit 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-g= cc-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-g= cc-12.2.0-x86-windows/bin/../lib/gcc/avr/12.2.0/device-specs/specs-avr2 COLLECT_GCC=3Davr-gcc COLLECT_LTO_WRAPPER=3Dc:/users/kovar/appdata/local/arduino15/packages/ardui= no/tools/avr-gcc/avr-gcc-12.2.0-x86-windows/bin/../libexec/gcc/avr/12.2.0/l= to-wrapper.exe Target: avr Configured with: ../configure --prefix=3D/omgwtfbbq/avr-gcc-12.2.0-x86-wind= ows --target=3Davr --enable-languages=3Dc,c++ --disable-nls --disable-libssp --disable-libada --with-dwarf2 --disable-shared --enable-static --enable-mingw-wildcard --enable-plugin --with-gnu-as --host=3Di686-w64-min= gw32 --build=3Dx86_64-pc-linux-gnu Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC) Thanks, Petr=