public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-10] document effective target fileio
@ 2020-06-10 10:24 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2020-06-10 10:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2aaa1dc3c87372fd55c1c33aa7a9612c4e5179e8

commit 2aaa1dc3c87372fd55c1c33aa7a9612c4e5179e8
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Apr 30 23:57:56 2020 -0300

    document effective target fileio
    
    check_effective_target_fileio was added to
    gcc/testsuite/lib/target-supports.exp the other day, without
    documentation.
    
    This patch adds the corresponding documentation.
    
    
    for  gcc/ChangeLog
    
            * doc/sourcebuild.texi (Effective-Target Keywords): Document
            the newly-introduced fileio effective target.

Diff:
---
 gcc/ChangeLog            | 5 +++++
 gcc/doc/sourcebuild.texi | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 22126b896e3..0cee37b1c7e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-30  Alexandre Oliva <oliva@adacore.com>
+
+	* doc/sourcebuild.texi (Effective-Target Keywords): Document
+	the newly-introduced fileio effective target.
+
 2020-04-30  Richard Sandiford  <richard.sandiford@arm.com>
 
 	PR rtl-optimization/94740
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 66f3576cb11..240d6e4b08e 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -2244,6 +2244,12 @@ Target provides @file{fenv.h} include file.
 Target supports @file{fenv.h} with all the standard IEEE exceptions
 and floating-point exceptions are raised by arithmetic operations.
 
+@item fileio
+Target offers such file I/O library functions as @code{fopen},
+@code{fclose}, @code{tmpnam}, and @code{remove}.  This is a link-time
+requirement for the presence of the functions in the library; even if
+they fail at runtime, the requirement is still regarded as satisfied.
+
 @item freestanding
 Target is @samp{freestanding} as defined in section 4 of the C99 standard.
 Effectively, it is a target which supports no extra headers or libraries


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-10 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 10:24 [gcc/devel/omp/gcc-10] document effective target fileio Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).