Re: [PATCH] avoid duplicate warning for strcmp with a nonstring (PR 85359)

2018-05-21 Thread Jeff Law
On 04/12/2018 06:02 PM, Martin Sebor wrote: > Attached is a minor update that avoids additional duplicate > warnings exposed by more extensive testing (for PR 85369). > > On 04/12/2018 02:52 PM, Martin Sebor wrote: >> The attached patch makes a small tweak to avoid issuing a duplicate >> warning 

[PING #2] [PATCH] avoid duplicate warning for strcmp with a nonstring (PR 85359)

2018-05-10 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00650.html On 04/19/2018 10:03 AM, Martin Sebor wrote: Ping: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00650.html This just suppresses a duplicate warning. Please let me know if it's preferable to defer it until GCC 9. Otherwise, I'll

[PING] [PATCH] avoid duplicate warning for strcmp with a nonstring (PR 85359)

2018-04-19 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00650.html This just suppresses a duplicate warning. Please let me know if it's preferable to defer it until GCC 9. Otherwise, I'll be traveling the next two weeks with only limited availability (none the first week in May). On 04/12/2018

Re: [PATCH] avoid duplicate warning for strcmp with a nonstring (PR 85359)

2018-04-12 Thread Martin Sebor
Attached is a minor update that avoids additional duplicate warnings exposed by more extensive testing (for PR 85369). On 04/12/2018 02:52 PM, Martin Sebor wrote: The attached patch makes a small tweak to avoid issuing a duplicate warning for calls to strcmp with a nonstring argument. The most

[PATCH] avoid duplicate warning for strcmp with a nonstring (PR 85359)

2018-04-12 Thread Martin Sebor
The attached patch makes a small tweak to avoid issuing a duplicate warning for calls to strcmp with a nonstring argument. The most onerous part of this was figuring out how to test for the absence of duplicate warnings. The "hack" I used (dg-regexp) is in place until a more straightforward