Re: [PATCH v2] rs6000: Avoid buffer overruns

2021-08-20 Thread Segher Boessenkool
Hi! On Thu, Aug 19, 2021 at 04:40:42PM -0500, Bill Schmidt wrote: > I totally biffed the previous version of this patch, as it was built > against an experimental tree instead of trunk. Trying again... > > Although safe_inc_pos avoids buffer overruns in rs6000-gen-builtins.c, > there are some ot

[PATCH v2] rs6000: Avoid buffer overruns

2021-08-19 Thread Bill Schmidt via Gcc-patches
Hi, I totally biffed the previous version of this patch, as it was built against an experimental tree instead of trunk. Trying again... Although safe_inc_pos avoids buffer overruns in rs6000-gen-builtins.c, there are some other routines where we fail to detect the possibility. Clean those up!