public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102513] [10/11/12 Regression] Many false positive warnings with recursive function Date: Wed, 24 Nov 2021 08:10:59 +0000 [thread overview] Message-ID: <bug-102513-4-C5tD9Hfp8a@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102513-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102513 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- A simple workaround is to add at the begining of the function: if (level == 0) return 0; What I found is since we don't run loop copy header until after IPA-CP, we get some interesting IR where we don't jump thread the level == 0 case correctly.
next prev parent reply other threads:[~2021-11-24 8:11 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-28 8:40 [Bug regression/102513] New: False positive -Wstringop-overflow= or -Warray-bounds warning " andreas.rheinhardt at outlook dot com 2021-11-09 18:27 ` [Bug tree-optimization/102513] [10.11.12 Regression] Many false positive warnings " msebor at gcc dot gnu.org 2021-11-16 13:09 ` [Bug tree-optimization/102513] [10/11/12 " rguenth at gcc dot gnu.org 2021-11-24 8:10 ` pinskia at gcc dot gnu.org [this message] 2022-01-20 12:05 ` jakub at gcc dot gnu.org 2022-01-20 12:26 ` jakub at gcc dot gnu.org 2022-01-20 12:45 ` jakub at gcc dot gnu.org 2022-01-20 13:58 ` jakub at gcc dot gnu.org 2022-02-06 0:37 ` fxue at os dot amperecomputing.com 2022-02-14 13:58 ` jamborm at gcc dot gnu.org 2022-02-14 18:19 ` [Bug ipa/102513] " jamborm at gcc dot gnu.org 2022-02-15 4:50 ` fxue at os dot amperecomputing.com 2022-02-17 15:25 ` jamborm at gcc dot gnu.org 2022-03-31 15:17 ` cvs-commit at gcc dot gnu.org 2022-03-31 16:37 ` jamborm at gcc dot gnu.org 2022-06-28 10:46 ` [Bug ipa/102513] [10/11/12/13 " jakub at gcc dot gnu.org 2023-07-07 10:41 ` [Bug ipa/102513] [11/12/13/14 " rguenth 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-102513-4-C5tD9Hfp8a@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).