https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118457
--- Comment #2 from sandra at gcc dot gnu.org --- I think this issue ought to be tackled in conjunction with PR115076, the fix for which will probably take variant resolution out of gimplify_call_expr() entirely.