Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-24 Thread Richard Guenther
On Tue, Feb 21, 2012 at 4:02 PM, Tijl Coosemans wrote: > On Tuesday 21 February 2012 10:19:15 Richard Guenther wrote: >> On Mon, Feb 20, 2012 at 8:55 PM, Tijl Coosemans wrote: >>> On Monday 9 January 2012 10:05:08 Richard Guenther wrote: Since GCC 4.4 applying the malloc attribute to realloc

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-21 Thread Tijl Coosemans
On Tuesday 21 February 2012 10:19:15 Richard Guenther wrote: > On Mon, Feb 20, 2012 at 8:55 PM, Tijl Coosemans wrote: >> On Monday 9 January 2012 10:05:08 Richard Guenther wrote: >>> Since GCC 4.4 applying the malloc attribute to realloc-like >>> functions does not work under the documented constr

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-21 Thread Richard Guenther
On Mon, Feb 20, 2012 at 8:55 PM, Tijl Coosemans wrote: > On Monday 9 January 2012 10:05:08 Richard Guenther wrote: >> Since GCC 4.4 applying the malloc attribute to realloc-like >> functions does not work under the documented constraints because >> the contents of the memory pointed to are not pro

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-20 Thread Tijl Coosemans
On Monday 9 January 2012 10:05:08 Richard Guenther wrote: > Since GCC 4.4 applying the malloc attribute to realloc-like > functions does not work under the documented constraints because > the contents of the memory pointed to are not properly transfered > from the realloc argument (or treated as p

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-01-11 Thread Richard Guenther
On Tue, 10 Jan 2012, Xinliang David Li wrote: > of course your new version. I have installed it on the trunk. Richard. > thanks, > > David > > On Tue, Jan 10, 2012 at 1:31 AM, Richard Guenther wrote: > > On Mon, 9 Jan 2012, Xinliang David Li wrote: > > > >> It looks non-ambiguous to me. > >

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-01-10 Thread Xinliang David Li
of course your new version. thanks, David On Tue, Jan 10, 2012 at 1:31 AM, Richard Guenther wrote: > On Mon, 9 Jan 2012, Xinliang David Li wrote: > >> It looks non-ambiguous to me. > > The new proposed version or the old? > > Richard. > >> David >> >> On Mon, Jan 9, 2012 at 1:05 AM, Richard Gue

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-01-10 Thread Richard Guenther
On Mon, 9 Jan 2012, Xinliang David Li wrote: > It looks non-ambiguous to me. The new proposed version or the old? Richard. > David > > On Mon, Jan 9, 2012 at 1:05 AM, Richard Guenther wrote: > > > > Since GCC 4.4 applying the malloc attribute to realloc-like > > functions does not work under

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-01-09 Thread Xinliang David Li
It looks non-ambiguous to me. David On Mon, Jan 9, 2012 at 1:05 AM, Richard Guenther wrote: > > Since GCC 4.4 applying the malloc attribute to realloc-like > functions does not work under the documented constraints because > the contents of the memory pointed to are not properly transfered > fro