summaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index f81c17b4a51..6acf47e631e 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -176,6 +176,8 @@ init_reswords (void)
mask |= D_CXX11;
if (!flag_concepts)
mask |= D_CXX_CONCEPTS;
+ if (!flag_tm)
+ mask |= D_TRANSMEM;
if (flag_no_asm)
mask |= D_ASM | D_EXT;
if (flag_no_gnu_keywords)