summaryrefslogtreecommitdiff
path: root/gcc/config/i386/winnt.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-03 05:56:32 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-03 05:56:32 +0000
commit6b195b535c9b98b364e7d6cea3a1ad104811a420 (patch)
tree434524619e90fcb525f618e11f45f1446bce75ee /gcc/config/i386/winnt.c
parentb244d4c79af821f051d19ce62d7cd39b33eb9e70 (diff)
downloadgcc-6b195b535c9b98b364e7d6cea3a1ad104811a420.tar.gz
config:
* i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * i386/i386-protos.h (i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p): Add. * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets. * i386/winnt.c (i386_valid_decl_attribute_p): Return directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43721 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/winnt.c')
-rw-r--r--gcc/config/i386/winnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index 676c4bddd5d..2d85b66930e 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -69,7 +69,7 @@ i386_pe_valid_decl_attribute_p (decl, attributes, attr, args)
return TREE_CODE (decl) == VAR_DECL;
}
- return ix86_valid_decl_attribute_p (decl, attributes, attr, args);
+ return 0;
}
/* Return nonzero if ATTR is a valid attribute for TYPE.
@@ -94,7 +94,6 @@ i386_pe_valid_type_attribute_p (type, attributes, attr, args)
return ix86_valid_type_attribute_p (type, attributes, attr, args);
}
-
/* Return the type that we should use to determine if DECL is
imported or exported. */