diff options
Diffstat (limited to 'gcc/config/darwin-c.c')
-rw-r--r-- | gcc/config/darwin-c.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index 6f263f4eeba..531715344b2 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -41,9 +41,6 @@ Boston, MA 02110-1301, USA. */ static bool using_frameworks = false; -/* True if we're setting __attribute__ ((ms_struct)). */ -static bool darwin_ms_struct = false; - /* Maintain a small stack of alignments. This is similar to pragma pack's stack, but simpler. */ @@ -184,17 +181,6 @@ darwin_pragma_ms_struct (cpp_reader *pfile ATTRIBUTE_UNUSED) warning (OPT_Wpragmas, "junk at end of '#pragma ms_struct'"); } -/* Set the darwin specific attributes on TYPE. */ -void -darwin_set_default_type_attributes (tree type) -{ - if (darwin_ms_struct - && TREE_CODE (type) == RECORD_TYPE) - TYPE_ATTRIBUTES (type) = tree_cons (get_identifier ("ms_struct"), - NULL_TREE, - TYPE_ATTRIBUTES (type)); -} - static struct { size_t len; const char *name; |