public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Dag Agren <dagren@abo.fi> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: optimization/10393: gcc does not generate code for loop Date: Wed, 16 Apr 2003 01:06:00 -0000 [thread overview] Message-ID: <20030416010601.23130.qmail@sources.redhat.com> (raw) The following reply was made to PR optimization/10393; it has been noted by GNATS. From: Dag Agren <dagren@abo.fi> To: Eric Botcazou <ebotcazou@libertysurf.fr> Cc: gcc-bugs@gcc.gnu.org, <nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org> Subject: Re: optimization/10393: gcc does not generate code for loop Date: Wed, 16 Apr 2003 04:00:35 +0300 (EET DST) On Tue, 15 Apr 2003, Eric Botcazou wrote: > > Hmm, trying to reproduce it myself from the .ii file fails. Also, the > > generated assembler output does not look familiar to what I got in my > > earlier tests. This is most confusing, as I did not save the orignal > > source file. Would gcc ever produce different output from a .cpp and the > > corresponding .ii file? > > Certainly not, otherwise we would not be able to debug GCC at all. > > Maybe you looked at a different but similar part of the assembly file the > first time? Or you used different compile options? I tried to recreate the compile options I used, but to no avail. I did look at the same part - in the earlier compile, the glEnd() and glDisable() calls that are inside and outside the loops, respectively, were right after each other, with no branch in between. In the new version, the glDisable() is much higher up in the code than the glEnd(), because the loop structure is different. Most mystifying. I did compile it with gcc 3.2 at first, and when that didn't work I installed 3.2.2 on top of it, and it produced the same results. I did not reboot the system in-between, but I don't see how that could have affected anything. -- Dag Agren <> d@c3.cx <> http://www.abo.fi/~dagren/ <> Legalize oregano
next reply other threads:[~2003-04-16 1:06 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-16 1:06 Dag Agren [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-04-16 6:21 ebotcazou 2003-04-15 19:06 Eric Botcazou 2003-04-15 17:36 Dag Agren 2003-04-15 8:16 ebotcazou 2003-04-13 20:06 dagren
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=20030416010601.23130.qmail@sources.redhat.com \ --to=dagren@abo.fi \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).