[Bug c/106853] compound literal storage duration

2022-09-06 Thread marcelgcc at firemail dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106853 --- Comment #4 from marcelgcc at firemail dot eu --- Thanks for the explanation.

[Bug c/106853] compound literal storage duration

2022-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106853 --- Comment #3 from Andrew Pinski --- The important part of the standards: 6.5.2.5 Compound literals 5 The value of the compound literal is that of an unnamed object initialized by the initializer list. If the compound literal occurs outside th

[Bug c/106853] compound literal storage duration

2022-09-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106853 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/106853] compound literal storage duration

2022-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106853 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---