https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104406
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Yeah it looks like there's an overlap with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485 indeed, but that ticket seems to be trying to address multiple things at once including an x86 costing issue. I'm happy to mark this as a dup though.