svn commit: r216143 - in head: share/man/man9 sys/amd64/include
sys/arm/include sys/i386/include sys/ia64/include sys/mips/include
sys/pc98/include
sys/powerpc/include sys/sparc64/include sys/sun4v...
Andriy Gapon
avg at freebsd.org
Fri Dec 3 18:12:38 UTC 2010
on 03/12/2010 20:01 Bruce Evans said the following:
> On Fri, 3 Dec 2010, Bruce Cran wrote:
>
>> Log:
>> Revert r216134. This checkin broke platforms where bus_space are macros:
>> they need to be a single statement, and do { } while (0) doesn't work in this
>> situation so revert until a solution can be devised.
>
> Surprising that do-while doesn't work.
I think GCC extension that allows to put statements inside expressions could help
here:
http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html#Statement-Exprs
I think that we already use the extension in some places.
--
Andriy Gapon
More information about the svn-src-all
mailing list