https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66110
Kevin OConnor <kevin at koconnor dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #2 from Kevin OConnor <kevin at koconnor dot net> --- I understand that it is not incorrect to produce two redundant stores with the sample code. However, I do believe it would be correct to produce a single store. As such, I think this is an opportunity to improve gcc's optimization. That is, I think gcc could validly interpret the C spec so that two redundant uint8_t stores could be replaced with one. If this is not the best place to discuss that, what would be the best forum?