https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77955
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #4) > It'll be hard to "fix" the first testcase: > <https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00841.html>. Thanks. The testcase from comment 3 is a dup of pr77886 and fixed by the patch that Jakub posted there. So if there is already an existing bug for the first testcase, feel free to close this bug.