From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D605384403E; Tue, 18 May 2021 07:01:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D605384403E From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/100541] [12 Regression] -fcompare-debug failure (length) with -O3 -fno-expensive-optimizations -fno-tree-dce -fno-tree-dominator-opts Date: Tue, 18 May 2021 07:01:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka 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: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 07:01:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100541 --- Comment #1 from Zdenek Sojka --- Created attachment 50833 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50833&action=3Dedit another testcase (needs less compiler flags) $ x86_64-pc-linux-gnu-gcc -O2 -fno-tree-dce -fno-tree-dominator-opts -fcompare-debug aircraft_cmd.ii -save-temps x86_64-pc-linux-gnu-gcc: error: aircraft_cmd.ii: '-fcompare-debug' failure (length) $ diff -u *gkd --- a-aircraft_cmd.gk.ii.gkd 2021-05-18 08:56:42.271670788 +0200 +++ a-aircraft_cmd.ii.gkd 2021-05-18 08:56:42.191670787 +0200 @@ -65,7 +65,7 @@ (mult:HI (reg:HI 0 ax [orig:89 pretmp_31 ] [89]) (const_int -21845 [0xffffffffffffaaab]))) (clobber (reg:CC 17 flags)) - ]) "aircraft_cmd.ii":18:19# {*mulhi3_1} + ])# {*mulhi3_1} (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))) (insn:TI # 0 0 4 (parallel [ @@ -73,7 +73,7 @@ (plus:HI (reg:HI 0 ax [101]) (const_int 10922 [0x2aaa]))) (clobber (reg:CC 17 flags)) - ]) "aircraft_cmd.ii":18:19# {*addhi_1} + ])# {*addhi_1} (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))) (insn:TI # 0 0 4 (set (reg:CC 17 flags)=