diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 19:23:44 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 19:23:44 +0000 |
commit | b2f3817bab5abaf7ab00cc345e1470fc0086f080 (patch) | |
tree | 97977386906068d03506cbdd99f3fde3d5eea6e4 /codecs | |
parent | f51595a0f83c4a907cf7b5da1ccea0298f502287 (diff) |
Allow codecs that use log2comp (g726) to compile correctly on x86 with gcc4 optimizations.
(closes issue #12253)
Reported by: fossil
Patches:
log2comp.patch uploaded by fossil (license 140)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@109648 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/log2comp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/log2comp.h b/codecs/log2comp.h index 56f2d8305..aa397c858 100644 --- a/codecs/log2comp.h +++ b/codecs/log2comp.h @@ -43,7 +43,7 @@ static inline int ilog2(int val) decl %0 ;\ bsrl %1, %0 ;\ " - : "=r" (a) + : "=&r" (a) : "mr" (val) : "cc" ); |