Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 20:16:57 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r185529 - in releng/7.1/sys: . ia64/include
Message-ID:  <200812012016.mB1KGv7B036086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon Dec  1 20:16:56 2008
New Revision: 185529
URL: http://svn.freebsd.org/changeset/base/185529

Log:
  MFstable/7 rev 185526; MFhead rev 179382:
  Work-around a compiler optimization bug, that broke libthr.
  See log of rev 185526 or 179382 for the analysis.
  
  Approved by:	re (kensmith)

Modified:
  releng/7.1/sys/   (props changed)
  releng/7.1/sys/ia64/include/atomic.h

Modified: releng/7.1/sys/ia64/include/atomic.h
==============================================================================
--- releng/7.1/sys/ia64/include/atomic.h	Mon Dec  1 19:29:47 2008	(r185528)
+++ releng/7.1/sys/ia64/include/atomic.h	Mon Dec  1 20:16:56 2008	(r185529)
@@ -42,7 +42,7 @@
 		"mov ar.ccv=%2;;\n\t"					\
 		"cmpxchg" #sz "." #sem " %0=%4,%3,ar.ccv\n\t"		\
 		: "=r" (ret), "=m" (*p)					\
-		: "r" (cmpval), "r" (newval), "m" (*p)			\
+		: "r" ((uint64_t)cmpval), "r" (newval), "m" (*p)	\
 		: "memory")
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812012016.mB1KGv7B036086>