https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886
Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thopre01 at gcc dot gnu.org --- Comment #55 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Shouldn't gcc.dg/lto/pr61886_0.c be run only for libc having __fread_chk? It fails on arm-none-eabi targets because newlib doesn't have __fread_chk: <artificial>:(.text.startup+0x18): undefined reference to `__fread_chk' FAIL: gcc.dg/lto/pr61886 c_lto_pr61886_0.o-c_lto_pr61886_0.o link, -flto -O2 -Werror