https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78182
--- Comment #3 from Rurec Lonic ---
Fantastic. Thanks for this, and next time I'll make sure to pull the very
latest revision!.
nent: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rureclonic at thraml dot com
Target Milestone: ---
Consider the following program, which writes '0001' in `text`.
constexpr unsigned long Size = 12;
char text[Size];
void foo() {
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rureclonic at thraml dot com
Target Milestone: ---
First of all, given how simple this bug report is, I imagine it must be a
duplicate, but am not sure what to look for and
: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rureclonic at thraml dot com
Target Milestone: ---
clang: https://godbolt.org/g/IjYT24
gcc: https://godbolt.org/g/nkGVdB
It would seem gcc is not able to