public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
To: gcc@gcc.gnu.org
Subject: testsuite requires LTO?
Date: Mon, 11 Apr 2022 16:51:39 -0700	[thread overview]
Message-ID: <YlS/C6QHm7Y4v/Il@troutmask.apl.washington.edu> (raw)

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	other threads:[~2022-04-11 23:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 23:51 Steve Kargl [this message]
2022-04-12  7:07 ` Richard Biener
2022-04-12  7:26   ` Richard Biener
2022-04-12 17:30     ` Steve Kargl
2022-04-12 17:42       ` Jonathan Wakely
2022-04-12 18:03         ` Steve Kargl
2022-04-12  7:41 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YlS/C6QHm7Y4v/Il@troutmask.apl.washington.edu \
    --to=sgk@troutmask.apl.washington.edu \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).