From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7827383E53A; Wed, 26 Jun 2024 17:53:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7827383E53A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719424393; bh=kiS5IMYYVlESpSDgvDeK2IwHwIxiqv1rTMqEovZpee0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ejrBCTqaW+13/oh2AmAfNPuX/E7GOiiAf+VWlAxttciAIwxrtj6uT3mSMbhz0mDnS gtc6K9G6g6VjcsVCWUEyx0flpsFH4xtZYVfH1yWQSSraIFBnxh73hnD9oBCT9u08ax CWnBgUAbL+ww1cP9LmwA/aLa4VdvZw55LR+yiVoA= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/115639] Large variations in compilation times involving static_assert Date: Wed, 26 Jun 2024 17:53:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on cc bug_status everconfirmed 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=3D115639 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-06-26 CC| |mpolacek at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Reproduced: $ time ./cc1plus -quiet 115639.C -fconstexpr-ops-limit=3D$((2**31-1)) -fconstexpr-loop-limit=3D$((2**31-1)) real 0m46.072s user 0m45.541s sys 0m0.273s vs. $ time ./cc1plus -quiet 115639.C -fconstexpr-ops-limit=3D$((2**31-1)) -fconstexpr-loop-limit=3D$((2**31-1)) real 0m25.545s user 0m25.125s sys 0m0.285s=