On Wed, 13 Mar 2013, Benjamin De Kosnik wrote:
> Hey! Here is the first pass at the 4.8 porting documentation.
Lovely, thank you, I know this really has proven useful.
And with some unfortunate of delay, some updates from my side:
- Use run-time performance (instead of runtime performance which
On Thu, Mar 14, 2013 at 03:07:36PM +0400, Alexander Monakov wrote:
>
> It still references memcpy in -Wsizeof-pointer-memaccess section. Let me
> suggest instead:
>
> To fix, properly pass the size of cleared memory as the last argument:
> either dereference the pointer argument to sizeo
It still references memcpy in -Wsizeof-pointer-memaccess section. Let me
suggest instead:
To fix, properly pass the size of cleared memory as the last argument:
either dereference the pointer argument to sizeof when clearing *one
pointed-to element*, or in addition to that multiply s
> Here is round two, as checked-in.
... and here are the validation patches.
-benjamin2013-03-13 Benjamin Kosnik
* htdocs/gcc-4.8/porting_to.html: Fix markup.
* htdocs/gcc-4.8/changes.html: Same.
Index: changes.html
===
Here is round two, as checked-in.
-benjamin
2013-03-13 Benjamin Kosnik
* htdocs/gcc-4.8/porting_to.html: Add.
* htdocs/gcc-4.8/changes.html: Add link.
Index: changes.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/gc
> It doesn't make sense. memcpy from NULL src pointer?
Indeed, that doesn't make sense. Thanks.
-benjamin
Alexander Monakov writes:
>
>
> On Wed, 13 Mar 2013, Mikael Pettersson wrote:
>
> > Benjamin De Kosnik writes:
> > >
> > > Hey! Here is the first pass at the 4.8 porting documentation.
> > ..
> > > + memset(p1, 0, sizeof(p1)); // error, use memcopy
> >
> > s/memcopy/memcpy/
>
On Wed, 13 Mar 2013, Mikael Pettersson wrote:
> Benjamin De Kosnik writes:
> >
> > Hey! Here is the first pass at the 4.8 porting documentation.
> ..
> > + memset(p1, 0, sizeof(p1)); // error, use memcopy
>
> s/memcopy/memcpy/
It doesn't make sense. memcpy from NULL src pointer?
Alex
Benjamin De Kosnik writes:
>
> Hey! Here is the first pass at the 4.8 porting documentation.
..
> + memset(p1, 0, sizeof(p1)); // error, use memcopy
s/memcopy/memcpy/
> + memset(p1, 0, sizeof(p1)); // error, use memcopy
likewise
> + To fix, either use memcopy or dereference the last
Benjamin De Kosnik wrote:
Hey! Here is the first pass at the 4.8 porting documentation.
This seems to reflect the current trunk reality. I'm not quite sure to
about the best way to talk about the more aggressive loop
optimizations WRT undefined sematincs, but this seems reasonable. Of
course, if
10 matches
Mail list logo