Our ci only tests 4.8, 5.4 and 7.2 IIRC.
But this file wasn’t changed for several month so I’m a bit surprise that it would trigger an internal compiler error… Is there anything specific about the way you install gcc? Also which distro are you using?