On 01/30/2015 11:04 PM, Chen Gang S wrote:
The related warning (cross compile tile with --disable-threads):
../../../../gcc-tile-new/libgcc/libgcov-interface.c: In function
'__gcov_fork':
../../../../gcc-tile-new/libgcc/libgcov-interface.c:182:53: warning: suggest
braces around empty body in an 'if' statement [-Wempty-body]
__GTHREAD_MUTEX_INIT_FUNCTION (&__gcov_flush_mx);
^
2015-01-31 Chen Gang <gang.chen.5...@gmail.com>
* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use braces
instead of macro's empty body to avoid xgcc warnings.
OK for the trunk.
jeff