From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 37072385828D; Thu, 16 Mar 2023 10:41:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37072385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678963300; bh=33AFrfp4H5+udUc9EEFV+mONpHVO2D5l3h5z67H/f7w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nPPQS3niPn5LojJ2kk/iRQiWJk+V/Mf8oMgf5xQ+F/zEE7xZrNg94NYkIChOJppTy uZJU5S1n6nr8Mfr3SeC7yA32sIZV9rhKs4ybYYyUN/jJY2+nDO3kq5HTN51a4UxPGS EoqivWE6Jp2yOzrELexzNOw6LRDmcX00b85eE8rM= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75 Date: Thu, 16 Mar 2023 10:41:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog, ice-on-invalid-code, inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D109137 --- Comment #13 from rguenther at suse dot de --- On Thu, 16 Mar 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109137 >=20 > --- Comment #12 from Jakub Jelinek --- > Ah, but > 1690 if (flag_checking > 1691 && (lra_assignment_iter_after_spill > 1692 > LRA_MAX_ASSIGNMENT_ITERATION_NUMBER)) > 1693 internal_error > 1694 ("maximum number of LRA assignment passes is achieved (%d)", > 1695 LRA_MAX_ASSIGNMENT_ITERATION_NUMBER); > is guarded with -fchecking. So it really hangs with -fno-checking. > Now, on the > error: =E2=80=98asm=E2=80=99 operand has impossible constraints > errors the problematic insns are removed: > 1864 PATTERN (insn) =3D gen_rtx_USE (VOIDmode, const0_rt= x); > 1865 lra_set_insn_deleted (insn); > or nulified in case of asm goto, so wonder whether some LRA state shouldn= 't be > reset at that point as well or what is the reason for the > 30 iterations. "easy" out would be to do flag_checking || error_count?=