Hi all,
In 2007 I made available the (os, library, function) database that is the
basis for part of the gnulib documentation. [1]
Here comes an update, with many more recent OS versions included.
https://www.haible.de/bruno/gnu/various-symlists.tar.gz
The point of this database is also to avoi
> This is OK, but please also mention in the comment that __builtin_assume
> generates better code for Clang 8 than __builtin_unreachable does, as that's
> the
> only reason to put up with all this mess.
Done, as follows:
2020-08-22 Bruno Haible
verify: Do use __builtin_assume on
> Yes, please push; these sorts of changes are fine.
OK, pushed like this:
2020-08-22 Bruno Haible
sig2str: Add more signals.
* lib/sig2str.c (numname_table): Add SIGCPUFAIL, SIGTHR, SIGBREAK.
diff --git a/lib/sig2str.c b/lib/sig2str.c
index 905daea..cf7c3bb 100644
--- a/lib
The Gnulib documentation regarding OpenBSD is out-of-date as well.
I'm doing this update:
2020-08-22 Bruno Haible
doc: Update for OpenBSD 6.0, 6.7.
* doc/*/*.texi: Update.
* m4/printf.m4: Update comments and cross-compilation guesses.
* m4/ceill.m4: Update comm
On 8/22/20 3:30 AM, Bruno Haible wrote:
-#if _GL_HAS_BUILTIN_UNREACHABLE
+ features such as function calls not inlined by the compiler. */
+
+#if _GL_HAS_BUILTIN_ASSUME
+/* Use a temporary variable, to avoid a clang warning
+ "the argument to '__builtin_assume' has side effects that will be
Yes, please push; these sorts of changes are fine.
Hi Paul,
Here's a proposed patch to add a few more signal names to the list of
signals:
- SIGCPUFAIL exists on AIX. sys_siglist description: "CPU Failure Predicted"
- SIGTHR exists on OpenBSD. sys_siglist description: "Thread AST"
(whatever that may mean).
- SIGBREAK exists on native Win
The sigabbrev_np and sig2str modules are related.
2020-08-22 Bruno Haible
doc: Mention sig2str module.
* doc/glibc-functions/sigabbrev_np.texi: Mention the sig2str module.
diff --git a/doc/glibc-functions/sigabbrev_np.texi
b/doc/glibc-functions/sigabbrev_np.texi
index 90a4c0
Paul Eggert wrote:
> On 8/17/20 4:37 PM, Bruno Haible wrote:
> >> + Avoid Clang’s __builtin_assume, as clang 9.0.1 -Wassume can
> >> + generate a bogus diagnostic "the argument to '__builtin_assume' has
> >> + side effects that will be discarded" even when the argument has no
> >> + side ef