https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94156
--- Comment #3 from Michał Urbański <michal314314 at gmail dot com> --- I confirm that attached test files reproduce the bug for me - same error messages. Thanks Pavel, never expeced someone to manage to reproduce this problem.