If I configure gcc with the following

../gccx/configure --prefix=$HOME/work/x --enable-languages=c,c++,fortran \
  --enable-bootstrap --disable-nls --enable-checking --disable-multilib \
  --disable-libsanitizer --disable-lto.

then bootstrap gcc, why do I see 1000s of failures with

% cd gcc
% gmake -j7 check-c
...
FAIL: gcc.dg/torture/pr64365.c   -O2 -flto  (test for excess errors)
FAIL: gcc.dg/torture/pr61786.c   -O2 -flto  (test for excess errors)
FAIL: gcc.dg/torture/pr63380-2.c   -O2 -flto  (test for excess errors)
FAIL: gcc.dg/torture/pr65270-2.c   -O2 -flto  (test for excess errors)

Should the testsuite recognize that gcc is built without LTO support?

-- 
Steve

Reply via email to