mirror of git://gcc.gnu.org/git/gcc.git
atomic.c: Include tconfig.h.
2014-01-25 Walter Lee <walt@tilera.com>
* config/tilepro/atomic.c: Include tconfig.h. Don't include
config.h or system.h.
(bool) Define.
From-SVN: r207088
This commit is contained in:
parent
24534912f7
commit
a5420aa44e
|
|
@ -1,3 +1,9 @@
|
||||||
|
2014-01-25 Walter Lee <walt@tilera.com>
|
||||||
|
|
||||||
|
* config/tilepro/atomic.c: Include tconfig.h. Don't include
|
||||||
|
config.h or system.h.
|
||||||
|
(bool) Define.
|
||||||
|
|
||||||
2014-01-25 Walter Lee <walt@tilera.com>
|
2014-01-25 Walter Lee <walt@tilera.com>
|
||||||
|
|
||||||
* config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
|
* config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,12 @@
|
||||||
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "config.h"
|
#include "tconfig.h"
|
||||||
#include "system.h"
|
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "atomic.h"
|
#include "atomic.h"
|
||||||
|
|
||||||
|
#define bool unsigned char
|
||||||
|
|
||||||
/* This code should be inlined by the compiler, but for now support
|
/* This code should be inlined by the compiler, but for now support
|
||||||
it as out-of-line methods in libgcc. */
|
it as out-of-line methods in libgcc. */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue