public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "falk dot hueffner at student dot uni-tuebingen dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/12941] [tree-ssa] loop miscompilation
Date: Tue, 18 Nov 2003 09:23:00 -0000 [thread overview]
Message-ID: <20031118092311.3799.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031107144745.12941.falk@debian.org>
------- Additional Comments From falk dot hueffner at student dot uni-tuebingen dot de 2003-11-18 09:23 -------
Subject: Re: [tree-ssa] loop miscompilation
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> How does the tree dumps look?
;; Function main (main)
main ()
{
int T.1;
long long unsigned int T.2;
unsigned int T.3;
int T.4;
int T.5;
_Bool T.6;
long long unsigned int x;
int i;
extern abort;
x = 2;;
i = 0;;
goto <D42f>;;
<D427>:;;
T.1 = 63 - i;;
T.2 = x >> T.1;;
T.3 = (unsigned int)T.2;;
T.4 = (int)T.3;;
T.5 = T.4 & 1;;
T.6 = (_Bool)T.5;;
if (T.6)
{
goto <D426>;;
}
else
{
};
i = i + 1;;
<D42f>:;;
if (i <= 63)
{
goto <D427>;;
}
else
{
goto <D426>;;
};
<D426>:;;
x = 4;;
i = 0;;
goto <D433>;;
<D431>:;;
T.1 = 63 - i;;
T.2 = x >> T.1;;
T.3 = (unsigned int)T.2;;
T.4 = (int)T.3;;
T.5 = T.4 & 1;;
T.6 = (_Bool)T.5;;
if (T.6)
{
goto <D430>;;
}
else
{
};
i = i + 1;;
<D433>:;;
if (i <= 63)
{
goto <D431>;;
}
else
{
goto <D430>;;
};
<D430>:;;
if (i != 61)
{
abort ();;
}
else
{
};
return 0;;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12941
next prev parent reply other threads:[~2003-11-18 9:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-07 14:47 [Bug optimization/12941] New: " falk at debian dot org
2003-11-07 15:49 ` [Bug optimization/12941] " pinskia at gcc dot gnu dot org
2003-11-07 17:54 ` falk at debian dot org
2003-11-07 17:58 ` pinskia at gcc dot gnu dot org
2003-11-18 5:39 ` pinskia at gcc dot gnu dot org
2003-11-18 9:23 ` falk dot hueffner at student dot uni-tuebingen dot de [this message]
2003-11-18 9:35 ` pinskia at gcc dot gnu dot org
2003-12-01 4:38 ` pinskia at gcc dot gnu dot org
2003-12-01 14:22 ` falk at debian dot org
2004-01-23 2:19 ` [Bug optimization/12941] [tree-ssa] builtin-bitops-1.c miscompilation rth at gcc dot gnu dot org
2004-01-23 20:27 ` cvs-commit at gcc dot gnu dot org
2004-01-23 22:38 ` rth at gcc dot gnu dot org
2004-01-27 13:05 ` cvs-commit at gcc dot gnu dot org
2004-01-30 19:57 ` jbuck at gcc dot gnu dot org
2004-01-30 20:03 ` rth at redhat dot com
2004-01-30 23:25 ` jbuck at gcc dot gnu dot 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=20031118092311.3799.qmail@sources.redhat.com \
--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).