Skip to content

Commit

Permalink
Avoid warning through fake initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Aug 7, 2009
1 parent 2d2f482 commit 57b378a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2009-08-07 Ulrich Drepper <drepper@redhat.com>

* sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Avoid
warning through fake initialization.

2009-08-07 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/strlen.S (ENTRY): Add the missing "; \".
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/x86_64/multiarch/strcspn-c.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ STRCSPN_SSE42 (const char *s, const char *a)

const char *aligned;
__m128i mask;
/* Fake initialization. gcc otherwise will warn. */
asm ("" : "=xm" (mask));
int offset = (int) ((size_t) a & 15);
if (offset != 0)
{
Expand Down

0 comments on commit 57b378a

Please sign in to comment.