From: Jakub Jelinek <jakub@redhat.com>
To: Marek Polacek <polacek@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH v2] warn-access: wrong -Wdangling-pointer with labels [PR106080]
Date: Wed, 15 Feb 2023 14:47:55 +0100 [thread overview]
Message-ID: <Y+zii5l85WxbTQ/w@tucnak> (raw)
In-Reply-To: <Y+ziHx6/8SB4k+4J@redhat.com>
On Wed, Feb 15, 2023 at 08:46:07AM -0500, Marek Polacek wrote:
> > Perhaps add dg-bogus above just to make it more clear what
> > we are testing in the test?
>
> Ok, here it is. Ok?
Sure, thanks.
> PR middle-end/106080
>
> gcc/ChangeLog:
>
> * gimple-ssa-warn-access.cc (is_auto_decl): Remove. Use auto_var_p
> instead.
>
> gcc/testsuite/ChangeLog:
>
> * c-c++-common/Wdangling-pointer-10.c: New test.
> * c-c++-common/Wdangling-pointer-9.c: New test.
Jakub
prev parent reply other threads:[~2023-02-15 13:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 3:48 [PATCH] " Marek Polacek
2023-02-15 9:50 ` Jakub Jelinek
2023-02-15 13:46 ` [PATCH v2] " Marek Polacek
2023-02-15 13:47 ` Jakub Jelinek [this message]
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=Y+zii5l85WxbTQ/w@tucnak \
--to=jakub@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=polacek@redhat.com \
/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: link
Be 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).