https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
--- Comment #11 from Moritz Kreutzer <moritz.kreutzer at siemens dot com> --- Jakub, I can confirm it's working for masked gathers (we have a similar pattern elsewhere in our code) with the latest trunk. Thanks for looking at the scatters as well!