Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-10 Thread Martin Sebor
On 01/10/2018 06:30 PM, H.J. Lu wrote: On Sat, Jan 6, 2018 at 2:04 PM, Martin Sebor wrote: Bug 83671 - Fix for false positive reported by -Wstringop-overflow does not work at -O1, points out that the string length range optimization implemented as a solution for bug 83373

Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-10 Thread H.J. Lu
On Sat, Jan 6, 2018 at 2:04 PM, Martin Sebor wrote: > Bug 83671 - Fix for false positive reported by -Wstringop-overflow > does not work at -O1, points out that the string length range > optimization implemented as a solution for bug 83373 doesn't help > at -O1. The root cause

Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-10 Thread Jeff Law
On 01/06/2018 03:04 PM, Martin Sebor wrote: > Bug 83671 - Fix for false positive reported by -Wstringop-overflow > does not work at -O1, points out that the string length range > optimization implemented as a solution for bug 83373 doesn't help > at -O1.  The root cause is that the fix was added 

Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-09 Thread Jeff Law
On 01/08/2018 08:05 PM, Martin Sebor wrote: > On 01/08/2018 04:28 AM, Richard Biener wrote: >> On Sat, Jan 6, 2018 at 11:04 PM, Martin Sebor wrote: >>> Bug 83671 - Fix for false positive reported by -Wstringop-overflow >>> does not work at -O1, points out that the string length

Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-08 Thread Martin Sebor
On 01/08/2018 04:28 AM, Richard Biener wrote: On Sat, Jan 6, 2018 at 11:04 PM, Martin Sebor wrote: Bug 83671 - Fix for false positive reported by -Wstringop-overflow does not work at -O1, points out that the string length range optimization implemented as a solution for bug

Re: [PATCH improve early strlen range folding (PR 83671)

2018-01-08 Thread Richard Biener
On Sat, Jan 6, 2018 at 11:04 PM, Martin Sebor wrote: > Bug 83671 - Fix for false positive reported by -Wstringop-overflow > does not work at -O1, points out that the string length range > optimization implemented as a solution for bug 83373 doesn't help > at -O1. The root cause

[PATCH improve early strlen range folding (PR 83671)

2018-01-06 Thread Martin Sebor
Bug 83671 - Fix for false positive reported by -Wstringop-overflow does not work at -O1, points out that the string length range optimization implemented as a solution for bug 83373 doesn't help at -O1. The root cause is that the fix was added to the strlen pass that doesn't run at -O1. The