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 middle-end/104288] [11/12 Regression] Null pointer check invalidly deleted Date: Sun, 30 Jan 2022 10:26:25 +0000 [thread overview] Message-ID: <bug-104288-4-MeJrWDEHhp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-104288-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-01-30 Summary|Null pointer check |[11/12 Regression] Null |invalidly deleted |pointer check invalidly | |deleted Keywords| |wrong-code Target Milestone|--- |11.3 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Reduced/more self-contained testcase: void h(int result) __attribute__((noipa)); void h(int result) { if (result) __builtin_exit(0); } void n(const char *value_1) __attribute__((noipa)); void n(const char *value_1) { h(value_1 == 0); int result = !__builtin_strcmp(value_1, "value 1"); __builtin_exit (!result); } int main() { n(0); }
next prev parent reply other threads:[~2022-01-30 10:26 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-30 10:09 [Bug c/104288] New: " nrk at disroot dot org 2022-01-30 10:26 ` pinskia at gcc dot gnu.org [this message] 2022-01-30 10:29 ` [Bug tree-optimization/104288] [11/12 Regression] EVRP null pointer check removal for strcmp (and maybe others) is not flow senative pinskia at gcc dot gnu.org 2022-01-30 11:03 ` jakub at gcc dot gnu.org 2022-01-31 8:21 ` rguenth at gcc dot gnu.org 2022-01-31 14:53 ` amacleod at redhat dot com 2022-01-31 15:34 ` jakub at gcc dot gnu.org 2022-01-31 22:39 ` amacleod at redhat dot com 2022-02-01 8:04 ` rguenther at suse dot de 2022-02-02 21:52 ` amacleod at redhat dot com 2022-02-08 15:03 ` cvs-commit at gcc dot gnu.org 2022-02-09 14:10 ` cvs-commit at gcc dot gnu.org 2022-02-09 14:11 ` amacleod at redhat dot com 2023-04-09 3:59 ` christian.prochaska@genode-labs.com 2023-04-09 4:12 ` pinskia at gcc dot gnu.org 2023-04-09 4:12 ` pinskia at gcc dot gnu.org 2023-04-09 7:07 ` christian.prochaska@genode-labs.com 2023-04-09 7:43 ` pinskia 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-104288-4-MeJrWDEHhp@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).