diff options
author | Jason Parker <jparker@digium.com> | 2008-03-18 19:24:15 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2008-03-18 19:24:15 +0000 |
commit | 56bddc2a0d419b5a9c75d39cc669b0234f64be58 (patch) | |
tree | af6520654029976e697a3e0956325711740fe427 /codecs/log2comp.h | |
parent | cd7efcf4e71b9d958aec6535905f35ae81d2f62b (diff) |
Merged revisions 109648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r109648 | qwell | 2008-03-18 14:23:44 -0500 (Tue, 18 Mar 2008) | 7 lines
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: https://origsvn.digium.com/svn/asterisk/trunk@109651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/log2comp.h')
-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" ); |