summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 902db41fd9a..ad7936bbc2f 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -476,6 +476,14 @@ struct gcc_target
tree *post_p);
} calls;
+ /* Functions specific to the C++ frontend. */
+ struct cxx {
+ /* Return the integer type used for guard variables. */
+ tree (*guard_type) (void);
+ /* Return true if only the low bit of the guard should be tested. */
+ bool (*guard_mask_bit) (void);
+ } cxx;
+
/* Leave the boolean fields at the end. */
/* True if arbitrary sections are supported. */