From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 238273AAC028; Thu, 19 Mar 2020 08:06:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 238273AAC028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584605162; bh=/gQ67s3aN/v5xdAYmsOCn30cczWDSwryIBvzq0ml1i4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qUB0Jb+W6vONniQAfHfjDmNApCvQLejcNaZ5gMvbWeK3vBMh+tRBCKOrJqcy3piK8 phlWeyRPSV2NS/EWlJn/gHNtdzJmc2WhwqRU/zsHyonKExb1jeRptcsN9iIDdKIZ8u 73n65udnz8Uh5lm8B6NyBGnpYLo/T1M94AYO0kJE= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318 Date: Thu, 19 Mar 2020 08:06:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2020 08:06:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92264 --- Comment #18 from Richard Biener --- Note also that param_max_find_base_term_values limits recursion depth but n= ot width (the loc list traversals). The original visited_vals thing was to prevent infinite recursion only. If the global caching works a safer appro= ach would be to turn that visited_vals things into a local cache and see if tha= t's enough as well.=