public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5642] analyzer: add regression test [PR94579] Date: Tue, 30 Nov 2021 22:50:18 +0000 (GMT) [thread overview] Message-ID: <20211130225018.B9B56385AC2D@sourceware.org> (raw) https://gcc.gnu.org/g:955ea7b58e4f1e3cc5083e88575161168c147254 commit r12-5642-g955ea7b58e4f1e3cc5083e88575161168c147254 Author: David Malcolm <dmalcolm@redhat.com> Date: Tue Nov 30 15:31:59 2021 -0500 analyzer: add regression test [PR94579] gcc/testsuite/ChangeLog: PR analyzer/94579 * gcc.dg/analyzer/pr94579.c: New test. Signed-off-by: David Malcolm <dmalcolm@redhat.com> Diff: --- gcc/testsuite/gcc.dg/analyzer/pr94579.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcc/testsuite/gcc.dg/analyzer/pr94579.c b/gcc/testsuite/gcc.dg/analyzer/pr94579.c new file mode 100644 index 00000000000..0ab88c2efb5 --- /dev/null +++ b/gcc/testsuite/gcc.dg/analyzer/pr94579.c @@ -0,0 +1,11 @@ +struct a *c; +struct a { + int b; +} d() { +} + +void e() + +{ + *c = d(); +}
reply other threads:[~2021-11-30 22:50 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20211130225018.B9B56385AC2D@sourceware.org \ --to=dmalcolm@gcc.gnu.org \ --cc=gcc-cvs@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).