From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E8693857717; Mon, 3 Jul 2023 22:04:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E8693857717 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688421895; bh=JWaBF5gfrUUlZfdw6u/gC+lU+jV4YY/W0UAbe0/31GI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xKMgoEXUz900XGFp5xe4+zjT87v5hdYPHcS8h7zD9wEeqk9ktSjv3KPr1jQ9SQVWd kg3Zaug2W0NzrkxHLJSGYuFtvHYVnAmkgdk1FhgQFHDUdGwdFqgBd/vAz3GT7z/aDm AK4RpwDhNZAZ4pAI3YftWEWu4XEon55t7cgKRf7I= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/110528] selective scheduling seems to go into an infinite loop Date: Mon, 03 Jul 2023 22:04:54 +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.3.1 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: short_desc cf_gcctarget cf_known_to_fail component 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110528 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Timeout with with specific |selective scheduling seems |optimizations |to go into an infinite loop Target| |x86_64-linux-gnu Known to fail| |14.0 Component|middle-end |rtl-optimization --- Comment #4 from Andrew Pinski --- #0 0x0000000000f67ac0 in vinsn_equal_p(vinsn_def*, vinsn_def*) () at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched-ir.cc:1603 #1 0x0000000000f68679 in av_set_lookup (set=3D, sought_vinsn=3D0x5003ee0) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched-ir.cc:2120 #2 0x0000000000f78747 in compute_av_set_inside_bb(rtx_insn*, _list_node*, = int, bool) () at /home/apinski/src/upstream-gcc/gcc/gcc/vec.h:1504 #3 0x0000000000f7dc9d in compute_av_set (unique_p=3D, ws=3D, p=3D, insn=3D) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:5058 #4 compute_av_set_on_boundaries (av_vliw_p=3D0x7fffffffc008, av_vliw_p@entry=3D, bnds=3D, fence=3D) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:5058 #5 fill_insns (scheduled_insns_tailpp=3D, seqno=3D-1, fence=3D) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:5523 #6 schedule_on_fences (scheduled_insns_tailpp=3D, max_seqno=3D1, fences=3D) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7353 #7 sel_sched_region_2(int) () at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7491 #8 0x0000000000f7ff97 in sel_sched_region_1() () at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7533 #9 0x0000000000f8157c in sel_sched_region (rgn=3D20) at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7634 #10 sel_sched_region(int) () at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7619 #11 0x0000000000f8174a in run_selective_scheduling () at /home/apinski/src/upstream-gcc/gcc/gcc/sel-sched.cc:7720 #12 0x0000000000f634ed in rest_of_handle_sched () at /home/apinski/src/upstream-gcc/gcc/gcc/sched-rgn.cc:3729=