From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 535103854579; Fri, 18 Nov 2022 21:44:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 535103854579 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668807855; bh=fdnc3dS6/ggClraiAHMqp8RbEOzpohD4m2bmi3Tdt5Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZqCVDpQCH7resUe1tXN1eEqoBr57U9sYJhakYFodqRuZ0aEJpO4AWIkyXJKrALWHi 8lXfGr2s7vfZK1ZL4mzwBHlkdE0A8QGjFZRrr6yC21zbpQn80avghj+qdVztR9GKlY 7T/f7J4QNI4j/jLCl/YdZKlQf54NqeXgCq2vVGCQ= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases Date: Fri, 18 Nov 2022 21:44:14 +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: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107692 --- Comment #10 from Segher Boessenkool --- (In reply to Hongyu Wang from comment #9) > The difference is, -mno-unroll-only-small-loops -O2 would cause > rtl-loop-unroll takeing effect, No. -m{no-,}unroll-only-small-loops does not enable or disable loop unroll= ing at all. The only thing it does is modify which loops are candidate to be unrolled. > I think the intension of -munroll-only-small-loops is to just adjust > rtl-loop-unrolling and do not touch middle-end unroll/cunroll. It modifies the behaviour of -funroll-loops. It doesn't do anythyng else. Anything that wants to see if unrolling is active can just look if flag_unroll_loops is set. The sane and simple thing. > But I think > your point is also reasonable. Maybe we can split the flag_unroll_loops to > tree and rtl seperately? Users do not care if something is done on Gimple or on RTL. The command li= ne flags are for users. They work fine as-is. > Anyway I will propose a patch and re-discuss with maintainers later. Than= ks! Please fix this regression asap. It is a P1, and we are in stage 3 already= .=