Re: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-09-25 Thread Qing Zhao
Sorry for the late reply (just back to work after the Cauldron and LPC conferences). Thanks a lot for your suggestions. Yes, I agree that the option need a better name -:) and we will figure this out after more study. During this year’s Cauldron and LPC, I got quite some good comments and

Re: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-09-14 Thread Joern Rennecke
> 1. Change the name of the option from: > > -fdiagnostic-try-to-explain-harder > To > -fdiagnostic-explain-harder I can think of a lot of connotations for this name, but alas, they are unfortunate, off-topic, or both. Some more neutral ideas: -fdiagnostics-verbose -fdiagnostic-details Or maybe

Ping * 4: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-09-03 Thread Qing Zhao
Hi, Richard, I’d like to ping this patch again. For the convenience, the original 2nd version of the patch is at: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657150.html The diagnostic part has been reviewed by David. Could you please take a look at the middle end implementation and le

Ping * 3: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-08-12 Thread Qing Zhao
Hi, Richard, Do we still need such improvement into GCC? Could you please take a look at the patch and let me know Any comment or suggestions? thanks. Qing The 3rd ping for the following patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657150.html > On Jul 29, 2024, at 11:32, Qing

Ping * 2: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-07-29 Thread Qing Zhao
The 2nd ping for the following patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657150.html thanks. Qing > On Jul 22, 2024, at 09:01, Qing Zhao wrote: > > Hi, Richard, > > Could you please take a look at the patch and let me know any comment you > have (especially on the middle-en

Ping: [PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-07-22 Thread Qing Zhao
Hi, Richard, Could you please take a look at the patch and let me know any comment you have (especially on the middle-end part)? David, let me know if you have further comment and suggestions. Thanks a lot. Qing > On Jul 12, 2024, at 10:03, Qing Zhao wrote: > > due to code duplication from

[PATCH v2] Provide more contexts for -Warray-bounds warning messages

2024-07-12 Thread Qing Zhao
due to code duplication from jump threading [PR109071] Control this with a new option -fdiagnostic-explain-harder. Compared to V1, the major difference are: (address David's comments) 1. Change the name of the option from: -fdiagnostic-try-to-explain-harder To -fdiagnostic-explain-harder 2. S