public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66930] [5 Regression]: gengtype.c is miscompiled during stage2
Date: Thu, 23 Jul 2015 09:08:00 -0000	[thread overview]
Message-ID: <bug-66930-4-2K3xDKPdRE@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66930-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66930

--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Kazumoto Kojima from comment #8)
> (In reply to John Paul Adrian Glaubitz from comment #7)
> > What do you mean? Using -O1 will trigger all kinds of bugs? Or is it rather
> > about PR target/66358?
> 
> Just my 2 cents.  Even on the primary targets, bootstrap with other
> than '-g -O2' are not so well tested.

Ah, I didn't know that. Really interesting fact!

> Most packages are built with -O2, aren't they?

They are, true.

> After all, -O1 should work but not safer than -O2,
> IMO.  O2 does many optimizations, and some of them might cause bug.
> OTOH, some of them simplify the intermediate code.  With -O1, we could
> see highly complex intermediate code in some cases and they might cause
> problem.  We have just seen an example in this PR.

I agree and, as I said, I already asked Matthias to revert to -O2.

Let's see how far we'll get this time. My board is still building.

Adrian


  parent reply	other threads:[~2015-07-23  9:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-66930-4@http.gcc.gnu.org/bugzilla/>
2015-07-19  2:32 ` olegendo at gcc dot gnu.org
2015-07-20  9:21 ` glaubitz at physik dot fu-berlin.de
2015-07-20 13:25 ` glaubitz at physik dot fu-berlin.de
2015-07-20 13:46 ` glaubitz at physik dot fu-berlin.de
2015-07-21 16:46 ` glaubitz at physik dot fu-berlin.de
2015-07-23  5:21 ` kkojima at gcc dot gnu.org
2015-07-23  8:03 ` glaubitz at physik dot fu-berlin.de
2015-07-23  8:59 ` kkojima at gcc dot gnu.org
2015-07-23  9:08 ` glaubitz at physik dot fu-berlin.de [this message]
2015-07-23 13:48 ` olegendo at gcc dot gnu.org
2015-07-24  0:08 ` kkojima at gcc dot gnu.org
2015-07-24  3:47 ` olegendo at gcc dot gnu.org
2015-07-24 13:40 ` kkojima at gcc dot gnu.org
2015-07-24 13:41 ` kkojima at gcc dot gnu.org
2015-07-25 11:04 ` olegendo at gcc dot gnu.org
2015-07-25 14:14 ` olegendo at gcc dot gnu.org

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=bug-66930-4-2K3xDKPdRE@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).