mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-04 02:18:50 +08:00
stdatomic: fix atomic_init parameters
This commit is contained in:
parent
9d862be1e7
commit
458457590d
2
tccgen.c
2
tccgen.c
@ -5771,7 +5771,7 @@ static void parse_atomic(int atok)
|
|||||||
* v -- value
|
* v -- value
|
||||||
* m -- memory model
|
* m -- memory model
|
||||||
*/
|
*/
|
||||||
{TOK___c11_atomic_init, "-a"},
|
{TOK___c11_atomic_init, "-av"},
|
||||||
{TOK___c11_atomic_store, "-avm"},
|
{TOK___c11_atomic_store, "-avm"},
|
||||||
{TOK___c11_atomic_load, "am"},
|
{TOK___c11_atomic_load, "am"},
|
||||||
{TOK___c11_atomic_exchange, "avm"},
|
{TOK___c11_atomic_exchange, "avm"},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user