From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8528F3858D32; Mon, 3 Oct 2022 09:53:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8528F3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664790820; bh=iV9J9tlEGrvDfLoU7VvvAzLqTzFKc4Bw51FcCWp683c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nZeF5q65JFIKhPHUA9W3PAIgKqHG6mcycuiqBQ0lEtsuZOKNj7aTwsrVx+OIeJ6Q0 l1MkAoJmomKr8roMj6yr/SRf56D49cMFjJrjhG+Xms4TPVeX9KypJ+gSFtMN+9ZKwX 8NCAnaPsBWQkRf25rkgAmK0Un2D+t0sTrqpvBphA= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107127] [11/12/13 Regression] Long compile times on code with C complex since r11-3299-gcba079f354a55363 Date: Mon, 03 Oct 2022 09:53:40 +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: 12.2.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 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=3D107127 --- Comment #2 from Martin Li=C5=A1ka --- Reduced test-case: $ cat x.i int *loopy_kernel_expr9; void loopy_kernel() { _Complex var_e9_11; double var_e9_15; ; ; double var_e9_6; ; loopy_kernel_expr9[0] / ((((var_e9_6 * (0 - 0 / var_e9_11 + 699.0 + 7.050460596289373 - 286.0 - +-4.659839407494593 + 1.5759632377305621 + 0) * 0 - 3.287790705257411 + 4.226175928534705 + 0)) * var_e9_15 + 5.065182909294865) * 1.2325048646197416 * 0 * 0 - 8.459732847790127 + 0 + 88.0 + 6.967677749063906 + 867.0 + 9.104465770830789 - 7.042039895022722 * -1.0); } $ time gcc-7 x.i -c real 0m0.028s user 0m0.007s sys 0m0.021s $ time gcc-12 x.i -c real 0m1.675s user 0m1.656s sys 0m0.018s=