https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82902
--- Comment #5 from John Buddery <jvb at cyberscience dot com> --- Thanks for the quick fix - this resolves the ICE in 8.0 for me, and applying to 7.2 fixes the invalid code generation I was seeing there.