https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89605
--- Comment #2 from xavier at cremaschi dot fr --- rguenth are you sure for the 'link-failure' keyword ? It's truly a compilation error, triggered while compiling a given c++ file, it does NOT wait until linking to fail.