https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687
--- Comment #5 from Joachim Protze <protze at itc dot rwth-aachen.de> --- Jakub, thank you for the quick solution! I successfully applied your patch to the sources from 7.1 release tarball. The two test cases you added are built and linked successfully. I can also successfully build my other test cases.