https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83027
--- Comment #3 from Victor Porton <porton at narod dot ru> --- GCC 7.2.0, Debian Linux 4.13.0. Eric Botcazou: I can't make a standalone reproducer without project file, because the bug appears only when I compile in two stages: creating an .a library and then linking with this library.