public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" @ 2022-04-29 0:20 hp at gcc dot gnu.org 2022-04-29 0:25 ` [Bug c/105430] " pinskia at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: hp at gcc dot gnu.org @ 2022-04-29 0:20 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105430 Bug ID: 105430 Summary: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hp at gcc dot gnu.org Target Milestone: --- Created attachment 52902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52902&action=edit test-case This bug is different to PR63944 where the description says "This bug is specific to initializers of objects with automatic storage duration" but where comments mention problems with static duration, so it's apparently part of a set of related problems or same base problem: here we have a constant static object. Also, part of this sub-problem is that the initialized value changed between gcc-10 and gcc-11, which does not appear to be the case for the code in PR63944. The test-case in this PR shows a regression since gcc-10 (and earlier releasess) behaves correctly; only the overridden field changed value, as intended. It manifests for all targets. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/105430] [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" 2022-04-29 0:20 [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" hp at gcc dot gnu.org @ 2022-04-29 0:25 ` pinskia at gcc dot gnu.org 2022-04-29 6:40 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2022-04-29 0:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105430 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I Assume here this is using a GNU extension of allowing the const struct copy in a constant expression. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/105430] [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" 2022-04-29 0:20 [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" hp at gcc dot gnu.org 2022-04-29 0:25 ` [Bug c/105430] " pinskia at gcc dot gnu.org @ 2022-04-29 6:40 ` rguenth at gcc dot gnu.org 2022-07-26 11:43 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c/105430] [11/12/13/14 " jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-04-29 6:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105430 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.4 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/105430] [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" 2022-04-29 0:20 [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" hp at gcc dot gnu.org 2022-04-29 0:25 ` [Bug c/105430] " pinskia at gcc dot gnu.org 2022-04-29 6:40 ` rguenth at gcc dot gnu.org @ 2022-07-26 11:43 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c/105430] [11/12/13/14 " jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-07-26 11:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105430 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsm28 at gcc dot gnu.org Keywords| |needs-bisection --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Not sure if this bug should be better duplicated for tracking - or whether the actual regression observed here can be fixed independently of the DR413 one. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/105430] [11/12/13/14 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" 2022-04-29 0:20 [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" hp at gcc dot gnu.org ` (2 preceding siblings ...) 2022-07-26 11:43 ` rguenth at gcc dot gnu.org @ 2023-05-29 10:06 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2023-05-29 10:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105430 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.4 |11.5 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 11.4 is being released, retargeting bugs to GCC 11.5. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-29 10:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-04-29 0:20 [Bug c/105430] New: [11/12/13 Regression] [DR 413] Change in value for "Partial overriding of constant struct/union initializers with designated initializers" hp at gcc dot gnu.org 2022-04-29 0:25 ` [Bug c/105430] " pinskia at gcc dot gnu.org 2022-04-29 6:40 ` rguenth at gcc dot gnu.org 2022-07-26 11:43 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c/105430] [11/12/13/14 " jakub at gcc dot gnu.org
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).