[Bug c/68725] suboptimal handling of constant compound literals

2021-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68725 --- Comment #4 from Andrew Pinski --- The copy on the stack is correct as the variable is considered a local variable and has its address taken

[Bug c/68725] suboptimal handling of constant compound literals

2016-12-27 Thread lukas at wunner dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68725 --- Comment #3 from Lukas Wunner --- (In reply to Andrew Pinski from comment #2) > I think this has now been fixed on the trunk. There is a pass which combines > stores for constants. No, unfortunately this is not fixed in trunk. You're right

[Bug c/68725] suboptimal handling of constant compound literals

2016-12-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68725 --- Comment #2 from Andrew Pinski --- I think this has now been fixed on the trunk. There is a pass which combines stores for constants.

[Bug c/68725] suboptimal handling of constant compound literals

2016-12-07 Thread lukas at wunner dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68725 Lukas Wunner changed: What|Removed |Added CC||lukas at wunner dot de --- Comment #1