public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dimitris Papavasiliou <dpapavas@gmail.com>
To: Mike Stump <mikestump@comcast.net>
Cc: "gcc-patches@gcc.gnu.org Patches" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] Add a couple of dialect and warning options regarding Objective-C instance variable scope
Date: Mon, 12 May 2014 07:49:00 -0000	[thread overview]
Message-ID: <53707DD2.2090004@gmail.com> (raw)
In-Reply-To: <53673F30.80402@gmail.com>

Ping!

On 05/05/2014 10:35 AM, Dimitris Papavasiliou wrote:
> Ping!
>
> On 04/28/2014 01:35 PM, Dimitris Papavasiliou wrote:
>> On 04/25/2014 07:50 PM, Mike Stump wrote:
>>> On Apr 25, 2014, at 9:34 AM, Dimitris Papavasiliou<dpapavas@gmail.com>
>>> wrote:
>>>
>>>> --Wreturn-type -Wsequence-point -Wshadow @gol
>>>> +-Wreturn-type -Wsequence-point -Wshadow -Wshadow-ivar @gol
>>>
>>> This has to be -Wno-shadow-ivar, we document the non-defaultÂ…
>>>
>>>> +@item -Wshadow-ivar @r{(Objective-C only)}
>>>
>>> Likewise.
>>>
>>>> + /* Check wheter the local variable hides the instance variable. */
>>>
>>> spelling, whether...
>>
>> Fixed these.
>>
>>>> + a = private; /* { dg-warning "hides instance variable" "" { xfail
>>>> *-*-* } } */
>>>> + a = protected; /* { dg-warning "hides instance variable" "" { xfail
>>>> *-*-* } } */
>>>> + a = public; /* { dg-warning "hides instance variable" "" { xfail
>>>> *-*-* } } */
>>>
>>> No, we donÂ’t expect failures. We makes the compiler do what we wants
>>> or it gets the hose again. Then, we expect it to be perfect. If you
>>> wonÂ’t want warning, and non are produces, then just remove the /* Â…
>>> */, or write /* no warning */.
>>
>> I've fixed these as per your request. For the record though, this form
>> of test seems to be fairly common in the test suites as this output
>> indicates:
>>
>> dimitris@debian:~/sandbox/gcc-build$ find ../gcc-source/gcc/testsuite/
>> -name "*.c" -o -name "*.C" -o -name "*.m" | xargs grep "xfail \*-\*-\*"
>> | wc -l
>> 354
>>
>> Many of these seem to be in error or warning messages which are expected
>> not to show up. In any case if the messages do show up they'll trigger
>> the excessive messages test so I suppose that's enough.
>>
>>> Also, synth up the ChnageLogsÂ… :-), they are trivial enough.
>>
>> Done.
>>
>>> And, just pop them all into one patch (cd ..; svn diff), 3 is 3x the
>>> work for me.
>>
>> Attached.
>>
>>> Once we resolve the 3 warning tests above, this will be ok.
>>
>> Actually, there were a few more { xfail *-*-* } in the other test cases.
>> I've removed these as well.
>>
>> Dimitris
>>
>

  reply	other threads:[~2014-05-12  7:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  9:22 Dimitris Papavasiliou
2014-02-13 14:19 ` [PING][PATCH] " Dimitris Papavasiliou
2014-02-20 10:08   ` [PING^2][PATCH] " Dimitris Papavasiliou
2014-02-27  9:41     ` [PING^3][PATCH] " Dimitris Papavasiliou
2014-03-06 17:41       ` [PING^4][PATCH] " Dimitris Papavasiliou
2014-03-13  9:52         ` Dimitris Papavasiliou
2014-03-23  1:32           ` [PING^6][PATCH] " Dimitris Papavasiliou
2014-03-28 10:11             ` [PING^7][PATCH] " Dimitris Papavasiliou
2014-04-03 15:29               ` [PING^8][PATCH] " Dimitris Papavasiliou
2014-04-24 10:39                 ` Dimitris Papavasiliou
2014-04-24 20:29                   ` Jakub Jelinek
2014-04-25  0:17                     ` Dimitris Papavasiliou
2014-04-25  1:07                       ` Mike Stump
2014-04-25 11:40                         ` Dimitris Papavasiliou
2014-04-24 16:03 ` [PATCH] " Mike Stump
2014-04-24 23:16   ` Dimitris Papavasiliou
2014-04-25  3:20     ` Mike Stump
2014-04-25 16:50       ` Dimitris Papavasiliou
2014-04-25 16:53         ` Mike Stump
2014-04-28 10:37           ` Dimitris Papavasiliou
2014-05-05  7:31             ` Dimitris Papavasiliou
2014-05-12  7:49               ` Dimitris Papavasiliou [this message]
2014-05-12 16:25             ` Mike Stump
2014-05-12 18:57               ` Dimitris Papavasiliou
2014-05-12 19:14                 ` Mike Stump
2014-05-12 20:53             ` Mike Stump
2014-05-13 14:17               ` Dimitris Papavasiliou
  -- strict thread matches above, loose matches on Subject: below --
2013-06-09 21:44 Dimitris Papavasiliou
2013-06-24 12:09 ` Dimitris Papavasiliou
2013-07-02  8:05   ` Dimitris Papavasiliou

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=53707DD2.2090004@gmail.com \
    --to=dpapavas@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mikestump@comcast.net \
    /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).