Re: [PATCH GCC]Make pointer overflow always undefined and remove the macro

2017-08-01 Thread Bin.Cheng
On Tue, Jul 25, 2017 at 8:26 AM, Richard Biener wrote: > On Mon, Jul 24, 2017 at 10:43 AM, Bin Cheng wrote: >> Hi, >> This is a followup patch to PR81388's fix. According to Richi, >> POINTER_TYPE_OVERFLOW_UNDEFINED was added in -fstrict-overflow >> warning work. Given: >> A) strict-overflow

Re: [PATCH GCC]Make pointer overflow always undefined and remove the macro

2017-07-25 Thread Richard Biener
On Mon, Jul 24, 2017 at 10:43 AM, Bin Cheng wrote: > Hi, > This is a followup patch to PR81388's fix. According to Richi, > POINTER_TYPE_OVERFLOW_UNDEFINED was added in -fstrict-overflow > warning work. Given: > A) strict-overflow was removed; > B) memory object can not wrap in address space