Re: [patch] Add ATTRIBUTE_MEMALLOC to a few malloc functions in GCC

2012-07-11 Thread Richard Guenther
On Wed, Jul 11, 2012 at 12:11 PM, Steven Bosscher wrote: > On Wed, Jul 11, 2012 at 12:06 PM, Richard Guenther > wrote: >> On Wed, Jul 11, 2012 at 11:41 AM, Steven Bosscher >> wrote: >>> Hello, >>> >>> One for under the "eat your own dog food" header. >>> >>> Bootstrapped and tested on powerpc64

Re: [patch] Add ATTRIBUTE_MEMALLOC to a few malloc functions in GCC

2012-07-11 Thread Steven Bosscher
On Wed, Jul 11, 2012 at 12:06 PM, Richard Guenther wrote: > On Wed, Jul 11, 2012 at 11:41 AM, Steven Bosscher > wrote: >> Hello, >> >> One for under the "eat your own dog food" header. >> >> Bootstrapped and tested on powerpc64-unknown-linux-gnu. >> cc1 is a few bytes smaller. I expect the benef

Re: [patch] Add ATTRIBUTE_MEMALLOC to a few malloc functions in GCC

2012-07-11 Thread Richard Guenther
On Wed, Jul 11, 2012 at 11:41 AM, Steven Bosscher wrote: > Hello, > > One for under the "eat your own dog food" header. > > Bootstrapped and tested on powerpc64-unknown-linux-gnu. > cc1 is a few bytes smaller. I expect the benefits to be more > noticeable with an LTO-enabled bootstrap, but I haven

[patch] Add ATTRIBUTE_MEMALLOC to a few malloc functions in GCC

2012-07-11 Thread Steven Bosscher
Hello, One for under the "eat your own dog food" header. Bootstrapped and tested on powerpc64-unknown-linux-gnu. cc1 is a few bytes smaller. I expect the benefits to be more noticeable with an LTO-enabled bootstrap, but I haven't figured out yet how to do that :-) OK for trunk? Ciao! Steven