From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B3FBA394FC2E; Wed, 16 Mar 2022 21:37:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3FBA394FC2E From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/104961] [9/10/11/12 Regression] compilation never (?) finishes at -Og Date: Wed, 16 Mar 2022 21:37:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on priority cc target_milestone short_desc bug_status 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: Wed, 16 Mar 2022 21:37:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104961 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-03-16 Priority|P3 |P2 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |9.5 Summary|compilation never (?) |[9/10/11/12 Regression] |finishes at -Og |compilation never (?) | |finishes at -Og Status|UNCONFIRMED |NEW --- Comment #1 from Marek Polacek --- Confirmed. Started with commit 7293e3f58edb7535d826c85160b9fa6d4132ffea Author: Vladimir Makarov Date: Fri Mar 16 18:48:26 2018 +0000 re PR target/84876 (ICE on invalid code in lra_assign at gcc/lra-assigns.c:1601 since r258504) 2018-03-16 Vladimir Makarov PR target/84876 * lra-assigns.c (lra_split_hard_reg_for): Don't use regno_allocno_class_array and sorted_pseudos. * lra-constraints.c (spill_hard_reg_in_range): Ignore hard regs= in insns where regno is used. 2018-03-16 Vladimir Makarov PR target/84876 * gcc.target/i386/pr84876.c: New test. From-SVN: r258602 which fixed an ICE: /home/mpolacek/q.c: In function =E2=80=98foo=E2=80=99: /home/mpolacek/q.c:12:1: error: unable to find a register to spill } ^ /home/mpolacek/q.c:12:1: error: this is the insn: (insn 15 32 33 2 (parallel [ (set (reg/v:TI 105 [orig:91 j ] [91]) (mult:TI (zero_extend:TI (subreg/j:DI (reg/v:TI 105 [orig:9= 1 j ] [91]) 0)) (zero_extend:TI (reg:DI 102 [ i.0_1 ])))) (clobber (reg:CC 17 flags)) ]) "/home/mpolacek/q.c":8 356 {*umulditi3_1} (expr_list:REG_DEAD (reg:DI 102 [ i.0_1 ]) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) during RTL pass: reload /home/mpolacek/q.c:12:1: internal compiler error: in lra_split_hard_reg_for= , at lra-assigns.c:1805 unrecognized DWARF version in .debug_info at 6 0xf1752d _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.c:108 0xd773ae lra_split_hard_reg_for() ../../gcc/lra-assigns.c:1805 0xd6fcb8 lra(_IO_FILE*) ../../gcc/lra.c:2507 0xd17143 do_reload ../../gcc/ira.c:5465 0xd17636 execute ../../gcc/ira.c:5649 Compiled fine with GCC 5 -> regression.=