[asterisk-commits] qwell: branch 1.4 r109648 - /branches/1.4/codecs/log2comp.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 18 14:23:45 CDT 2008


Author: qwell
Date: Tue Mar 18 14:23:44 2008
New Revision: 109648

URL: http://svn.digium.com/view/asterisk?view=rev&rev=109648
Log:
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)

Modified:
    branches/1.4/codecs/log2comp.h

Modified: branches/1.4/codecs/log2comp.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/codecs/log2comp.h?view=diff&rev=109648&r1=109647&r2=109648
==============================================================================
--- branches/1.4/codecs/log2comp.h (original)
+++ branches/1.4/codecs/log2comp.h Tue Mar 18 14:23:44 2008
@@ -43,7 +43,7 @@
 		decl	%0			;\
 		bsrl	%1, %0		;\
 		"
-		: "=r" (a)
+		: "=&r" (a)
 		: "mr" (val)
 		: "cc"
 	);




More information about the asterisk-commits mailing list