public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Martin Jambor <mjambor@suse.cz>
To: Benjamin Priour <priour.be@gmail.com>
Cc: David Malcolm <dmalcolm@redhat.com>,
	gcc@gcc.gnu.org, Jason Merrill <jason@redhat.com>
Subject: Re: [GSoC] Discussion of warnings and of a first patch (name-hiding)
Date: Tue, 28 Mar 2023 23:31:30 +0200	[thread overview]
Message-ID: <ri6r0t8tvf1.fsf@suse.cz> (raw)
In-Reply-To: <CAKiQ0GH-6_=o5KUw8hVA8XsThaoQSNS6tA=wTPaaJ-w9J_okbQ@mail.gmail.com>

Hello,

it feels like I have read only a small part of your conversation and so
may be missing quite some context, but...


On Wed, Mar 22 2023, Benjamin Priour via Gcc wrote:
> Hi Jason,
>
> Sorry for the delayed answer, I was in my exam period!
>
> I've almost finished the patch (PR12341
> <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12341>), and wrote a testcase
> to compare it against.
> In it I use dejaGNU instructions of the format:
>  /* { dg-warning "'C::bbb' might shadow 'B::bbb'." "" { target *-*-* }
> C_shadowing_bbb } */
> and run the test with:
> make check-gcc-c++ RUNTESTFLAGS="-v -v --target_board=unix\{-m32,-m64\}
> dg.exp=pr12341-1.C"
> I get expected results on most target, except on target hppa*-*-hpux*.

...don't worry about hppa or hpux at this point and...

> I have been looking around the documentation, yet I cannot find a way to
> run on that target specifically, especially considering the wildcards. How
> to test GCC on a simulator <https://gcc.gnu.org/simtest-howto.html> don't
> specify that target in the bottom table.
> Would you have any guidance on how to do so ? I would like to debug the
> test on that platform.
>
> Otherwise, I believe it is working just fine, I put it as an enhancement to
> -Wshadow. Should I send it to gcc-patches ? I wasn't sure I was supposed to
> since it's still buggy, so I preferred to refrain.

...yes, if you would like to get feedback, send it to gcc-patches.
Prefix the subject with "[RFC]" if you want to point out that you are
looking for feedback and not an approval to commit.  Spell out any known
issues.  It is a good idea to CC some maintainer of the gcc component
you modify, so Jason in this case.

Thanks for your perseverance, I know it is not easy,

Martin

      reply	other threads:[~2023-03-28 21:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 22:49 Benjamin Priour
2023-03-28 21:31 ` Martin Jambor [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=ri6r0t8tvf1.fsf@suse.cz \
    --to=mjambor@suse.cz \
    --cc=dmalcolm@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=priour.be@gmail.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).