RE: [PATCH][GCC][AArch64]: Replace sprintf call with snprintf in aarch64.md

2020-06-10 Thread Alex Coplan
Hi Alex, > -Original Message- > From: Gcc-patches On Behalf Of Alex > Butler > Sent: 09 June 2020 22:55 > To: gcc-patches@gcc.gnu.org > Subject: [PATCH][GCC][AArch64]: Replace sprintf call with snprintf in > aarch64.md > > Replaced for consistency with the

Re: [PATCH][GCC][AArch64]: Replace sprintf call with snprintf in aarch64.md

2020-06-09 Thread Andrew Pinski via Gcc-patches
On Tue, Jun 9, 2020 at 2:56 PM Alex Butler wrote: > > Replaced for consistency with the rest of the aarch64 backend. > > Testing done: > Cross-compiled and regression tested on aarch64-none-elf, no issues. If we 100% know the size of the buffer that passes to sprintf is reasonable for the format

[PATCH][GCC][AArch64]: Replace sprintf call with snprintf in aarch64.md

2020-06-09 Thread Alex Butler
Replaced for consistency with the rest of the aarch64 backend. Testing done: Cross-compiled and regression tested on aarch64-none-elf, no issues. --- gcc/ChangeLog: 2020-04-08 Alex Butler * config/aarch64/aarch64.md (cb1): Replace sprintf with snprintf --- aarch64.md |2