On Apr 28, 2020, Bernhard Reutner-Fischer <rep.dot....@gmail.com> wrote:
> ISTM the corresponding documentation hunk for sourcebuild.texi is missing. Thanks, I wasn't aware that testsuite effective targets were documented there. Here's the missing documentation. Tested with 'make info' on x86_64-linux-gnu. Ok to install? document effective target fileio From: Alexandre Oliva <ol...@adacore.com> 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. --- gcc/doc/sourcebuild.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index b696120..46b486d 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2233,6 +2233,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 -- Alexandre Oliva, freedom fighter he/him https://FSFLA.org/blogs/lxo/ Free Software Evangelist Stallman was right, but he's left :( GNU Toolchain Engineer Live long and free, and prosper ethically