https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83256
Peter Maydell <peter.maydell at linaro dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.maydell at linaro dot org --- Comment #1 from Peter Maydell <peter.maydell at linaro dot org> --- I was investigating a similar gcc bug, and was pointed at this one. I note that the test case attached to this bug seems to be (according to the godbolt compilers) broken in gcc 7.3 but fixed by 8.1. 8.1 didn't fix everything in this area, though -- I have a rather similar kind of test case (which I'll attach), which seems to be still broken in 8.3 but fixed in gcc trunk.