Skip to content

Commit

Permalink
2013-01-15 Paul Pluzhnikov <ppluzhnikov@google.com>
Browse files Browse the repository at this point in the history
	PR 55982
	* strncat-chk.c (__strncat_chk): Fix loop unroll.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195207 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ppluzhnikov committed Jan 15, 2013
1 parent 21be23e commit 38e2183
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 8 additions & 3 deletions libssp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
2013-01-15 Paul Pluzhnikov <ppluzhnikov@google.com>

PR 55982
* strncat-chk.c (__strncat_chk): Fix loop unroll.

2012-09-14 David Edelsohn <dje.gcc@gmail.com>

* configure: Regenerated.

2012-05-29 Benjamin Kosnik <bkoz@redhat.com>

PR libstdc++/51007
* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
* configure: Regenerated.
PR libstdc++/51007
* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
* configure: Regenerated.

2012-05-16 H.J. Lu <hongjiu.lu@intel.com>

Expand Down
6 changes: 0 additions & 6 deletions libssp/strncat-chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ __strncat_chk (char *__restrict__ dest, const char *__restrict__ src,
*++dest = c;
if (c == '\0')
return s;
if (slen-- == 0)
__chk_fail ();
c = *src++;
*++dest = c;
if (c == '\0')
return s;
} while (--n4 > 0);
n &= 3;
}
Expand Down

0 comments on commit 38e2183

Please sign in to comment.