https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Hmm indeed they are different (it would have been clearer to omit const in the initial testcase). I couldn't find an obvious duplicate in bug 49774.