https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Known to fail| |10.2.0, 9.3.0 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. > /space/rguenther/install/gcc-9.3/bin/gcc t.c -D_FORTIFY_SOURCE=2 -O In file included from /usr/include/stdio.h:862, from t.c:1: t.c: In function ?main?: /usr/include/bits/stdio2.h:102:1: error: inlining failed in call to always_inline ?printf?: target specific option mismatch 102 | printf (const char *__restrict __fmt, ...) | ^~~~~~ t.c:6:4: note: called from here 6 | printf("hello!\n"); | ^~~~~~~~~~~~~~~~~~ fortify wrappers are always-inline and inherit default target opts.