From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D3E5385829E; Tue, 2 Jan 2024 17:21:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D3E5385829E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704216090; bh=MqxGuAeeQVch7ItaDE8XVWATSkYRpOpE4y7f4V/shXQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cNqhxzPFHIj7HOX62dGa8ug+juUXkpyGd6WPSUzWASkEb782kGlAPZ0grRXcefosh AT8+UAFpA6F6fQZI4t/YZdMq8uNh/RXg5i/ODbAeIvzn9KjoTXdkpFgkzS50yhjqic a7bDxKTD3iN8tIYifCpRoeg2JR977lil3GMjzEtU= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/113175] [11/12/13/14 Regression] testsuite/std/ranges/iota/max_size_type.cc 5x times slower Date: Tue, 02 Jan 2024 17:21:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D113175 --- Comment #9 from Patrick Palka --- > When r14-205 fixed that, the total number of loop iterations increased by= approximately 4x (2x due to symmetry with unsigned, 2x due to the loop ran= ge being -limit...limit instead of 0...limit) which is roughly consistent w= ith a 5x increase in test execution time. Oops, the increase is more like 5x due to loop nesting. So the signed_p ca= se performs 4x more iterations than the unsigned case, and previously the sign= ed_p case was dead.=