https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961
--- Comment #15 from xaizek <xaizek at posteo dot net> --- > I don't think anything is violated, because GCC has `-o` option. Actually, I tried it and GCC can produce such weird results as well, but documentation talks about file discovery, not about reproducing this behaviour.