https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50755
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Roger Sayle from comment #4) > This appears to be fixed on mainline. At least the test case passes on newer versions. For a definite answer you'd have to bisect / find the patch that solved it.