Re: [PATCH] PR target/99314: Fix integer signedness issue for cpymem pattern expansion.

2021-03-18 Thread Kito Cheng via Gcc-patches
No feedback for 2 weeks, and we already verified this with our internal CI system for a while, so I go ahead committed to trunk now. On Fri, Mar 5, 2021 at 12:48 PM Kito Cheng wrote: > > From: Sinan Lin > > Third operand of cpymem pattern is unsigned HOST_WIDE_INT, however we > are interpret tha

[PATCH] PR target/99314: Fix integer signedness issue for cpymem pattern expansion.

2021-03-04 Thread Kito Cheng
From: Sinan Lin Third operand of cpymem pattern is unsigned HOST_WIDE_INT, however we are interpret that as signed HOST_WIDE_INT, that not a problem in most case, but when the value is large than signed HOST_WIDE_INT, it might screw up since we have using that value to calculate the buffer size.