[Bug c/95052] Excess padding of partially initialized strings/char arrays

2020-05-11 Thread krzysztof.a.nowicki+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95052 --- Comment #3 from Krzysztof Nowicki --- Note, that this missed optimization is actually a regression (at least in our case on MIPS64). Commit 23aa9f7c4637ad51587e536e245ae6adb5391bbc (released in GCC 8.x) added the possibility to optimize initi

[Bug c/95052] Excess padding of partially initialized strings/char arrays

2020-05-11 Thread krzysztof.a.nowicki+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95052 --- Comment #2 from Krzysztof Nowicki --- (In reply to Richard Biener from comment #1) > I'm not sure what you describe as padding is padding. Instead it's valid to > access all elements of the array you declare and thus it must be initialized.

[Bug c/95052] Excess padding of partially initialized strings/char arrays

2020-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95052 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED