public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic/stack overflow) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c Date: Wed, 24 Nov 2021 14:06:04 +0000 [thread overview] Message-ID: <bug-103231-4-rSu9eBLd04@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103231-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 --- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <amacleod@gcc.gnu.org>: https://gcc.gnu.org/g:5deacf6058d1bc7261a75c9fd1f116c4442e9e60 commit r12-5505-g5deacf6058d1bc7261a75c9fd1f116c4442e9e60 Author: Andrew MacLeod <amacleod@redhat.com> Date: Mon Nov 22 14:39:41 2021 -0500 Directly resolve range_of_stmt dependencies. All ranger API entries eventually call range_of_stmt to ensure there is an initial global value to work with. This can cause very deep call chains when satisfied via the normal API. Instead, push any dependencies onto a stack and evaluate them in a depth first manner, mirroring what would have happened via the normal API calls. PR tree-optimization/103231 gcc/ * gimple-range.cc (gimple_ranger::gimple_ranger): Create stmt stack. (gimple_ranger::gimple_ranger): Delete stmt stack. (gimple_ranger::range_of_stmt): Process depenedencies if they have no global cache entry. (gimple_ranger::prefill_name): New. (gimple_ranger::prefill_stmt_dependencies): New. * gimple-range.h (class gimple_ranger): Add prototypes.
next prev parent reply other threads:[~2021-11-24 14:06 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-14 10:31 [Bug tree-optimization/103231] New: ICE (nondeterministic) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault zhendong.su at inf dot ethz.ch 2021-11-14 10:34 ` Jan Hubicka 2021-11-14 10:34 ` [Bug tree-optimization/103231] " hubicka at kam dot mff.cuni.cz 2021-11-14 10:37 ` pinskia at gcc dot gnu.org 2021-11-14 10:54 ` marxin at gcc dot gnu.org 2021-11-14 10:55 ` [Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c marxin at gcc dot gnu.org 2021-11-14 11:02 ` marxin at gcc dot gnu.org 2021-11-14 11:05 ` zhendong.su at inf dot ethz.ch 2021-11-14 11:08 ` aldyh at gcc dot gnu.org 2021-11-14 11:08 ` aldyh at gcc dot gnu.org 2021-11-14 15:37 ` zhendong.su at inf dot ethz.ch 2021-11-14 15:45 ` marxin at gcc dot gnu.org 2021-11-14 15:55 ` marxin at gcc dot gnu.org 2021-11-15 9:08 ` [Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic/stack overflow) " rguenth at gcc dot gnu.org 2021-11-19 19:04 ` amacleod at redhat dot com 2021-11-24 14:06 ` cvs-commit at gcc dot gnu.org [this message] 2021-11-24 14:07 ` amacleod at redhat dot com 2021-11-29 14:31 ` law at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103231-4-rSu9eBLd04@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).