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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"