[PATCH v3 1/7] Fix __libc_signal_block_all on sparc64

Joseph Myers joseph@codesourcery.com
Thu Dec 12 18:00:00 GMT 2019


On Thu, 12 Dec 2019, Andreas Schwab wrote:

> On Dez 12 2019, Adhemerval Zanella wrote:
> 
> > Well I am seeing such behaviour with gcc 9.2.1 on x86_64 at least:
> 
> That's a missed optimisation bug in gcc then.  There should not be a
> difference between a const compound literal and a static const object,
> if only constant expressions are used for initialisation.

There's a note at the bottom of https://gcc.gnu.org/c99status.html 
specifically about this ("const-qualified compound literals could share 
storage with each other and with string literals, but currently don't.").

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list