Re: [PATCH] Remove extra memory allocation of strings.

2018-11-08 Thread James Greenhalgh
nks, James > From a21a626055442635057985323bb42ef29526e182 Mon Sep 17 00:00:00 2001 > From: marxin > Date: Mon, 22 Oct 2018 15:18:23 +0200 > Subject: [PATCH] Remove extra memory allocation of strings. > > gcc/ChangeLog: > > 2018-10-22 Martin Liska > > * config/aarch64/aarch64.c (aarch64_pa

Re: [PATCH] Remove extra memory allocation of strings.

2018-11-08 Thread Kyrill Tkachov
Hi Martin, On 23/10/18 14:17, Martin Liška wrote: Hello. As a follow up patch I would like to remove redundant string allocation on string which is not needed in my opinion. I think this change is correct, as these functions don't modify the string, just read it in different ways. You'll sti

Re: [PATCH] Remove extra memory allocation of strings.

2018-11-01 Thread Martin Liška
On 10/23/18 3:17 PM, Martin Liška wrote: > Hello. > > As a follow up patch I would like to remove redundant string allocation > on string which is not needed in my opinion. > > That bootstrap on aarch64-linux. > > Martin > James may I please remind this small patch? Thanks, Martin

[PATCH] Remove extra memory allocation of strings.

2018-10-23 Thread Martin Liška
200 Subject: [PATCH] Remove extra memory allocation of strings. gcc/ChangeLog: 2018-10-22 Martin Liska * config/aarch64/aarch64.c (aarch64_parse_arch): Do not copy string to a stack buffer. (aarch64_parse_cpu): Likewise. (aarch64_parse_tune): Likewise. --- gcc/config/aarch64/aarch64.c |