bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* Making _Noreturn a no-op in < Clang 16?
@ 2023-01-19  2:09 Sam James
  2023-01-19  4:17 ` Paul Eggert
  0 siblings, 1 reply; 9+ messages in thread
From: Sam James @ 2023-01-19  2:09 UTC (permalink / raw)
  To: Gnulib bugs; +Cc: Arsen Arsenović

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

Hi all,

Over on bug-gawk, we ended up finding that Clang was miscompiling certain
expressions involving _Noreturn. This is fixed in Clang's git repo but not
in any released version. It should be in 16.0.

Paul suggested [0] that gnulib ought to #define _Noreturn to blank
for known-broken Clang versions, especially given finding such
broken patterns isn't easy.

This seems like a reasonable path forward. I'm concerned about
gnulib versions in various released bits of GNU software (diffutils
just got a release, for example) without this workaround in.

What do you think?

[0] https://lists.gnu.org/archive/html/bug-gawk/2023-01/msg00004.html

Best,
sam

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 358 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-20 10:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19  2:09 Making _Noreturn a no-op in < Clang 16? Sam James
2023-01-19  4:17 ` Paul Eggert
2023-01-19 20:44   ` Sam James
2023-01-19 21:20     ` Paul Eggert
2023-01-19 21:30       ` Sam James
2023-01-20  3:40         ` Paul Eggert
2023-01-20  4:20           ` Sam James
2023-01-20  9:16             ` Paul Eggert
2023-01-20 10:25               ` Bruno Haible

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).