OSDN Git Service

* config/alpha/alpha.c (alpha_init_builtins): Nullify FWRITE and
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 2009 16:41:41 +0000 (16:41 +0000)
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 2009 16:41:41 +0000 (16:41 +0000)
FWRITE_UNLOCKED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150653 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 74736d6..6f414a0 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-11  Douglas B Rupp  <rupp@gnat.com>
+
+       * config/alpha/alpha.c (alpha_init_builtins): Nullify FWRITE and
+       FWRITE_UNLOCKED.
+
 2009-08-11  Vasiliy Fofanov  <fofanov@adacore.com>
             Eric Botcazou  <botcazou@adacore.com>
             Douglas B Rupp  <rupp@gnat.com>
index ccf9288..532e130 100644 (file)
@@ -6633,6 +6633,12 @@ alpha_init_builtins (void)
 
   dimode_integer_type_node = lang_hooks.types.type_for_mode (DImode, 0);
 
+  /* Fwrite on VMS is non-standard.  */
+#if TARGET_ABI_OPEN_VMS
+  implicit_built_in_decls[(int) BUILT_IN_FWRITE] = NULL_TREE;
+  implicit_built_in_decls[(int) BUILT_IN_FWRITE_UNLOCKED] = NULL_TREE;
+#endif
+
   ftype = build_function_type (dimode_integer_type_node, void_list_node);
   alpha_add_builtins (zero_arg_builtins, ARRAY_SIZE (zero_arg_builtins),
                      ftype);