public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/24627] [4.1 Regression] xntp miscompiled
Date: Wed, 02 Nov 2005 16:03:00 -0000	[thread overview]
Message-ID: <20051102160303.31059.qmail@sourceware.org> (raw)
In-Reply-To: <bug-24627-3563@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from pinskia at gcc dot gnu dot org  2005-11-02 16:03 -------
Here is another more reduced testcase (still at -O1 -fno-tree-sra):
typedef struct {
  unsigned a;
} l_fp;
void dolfptoa(short ndec)
{
  l_fp work;
  unsigned workUl_fXl_uf;
  work.a = 0x535f3d8;
  while (ndec > 0) {

    ndec--;
    work.a = 0;
    work.a = 0;
    if (workUl_fXl_uf & 0x80000000)
      work.a |= 0x1;
    workUl_fXl_uf <<= 1;

    work.a <<= 1;
    if (workUl_fXl_uf & 0x80000000)
      work.a |= 0x1;
    workUl_fXl_uf <<= 1;

    work.a <<= 1;

    if (!(work.a < 10))
      abort ();
  }
}
int main()
{
  dolfptoa(6);
  return 0;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24627


  parent reply	other threads:[~2005-11-02 16:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 23:04 [Bug middle-end/24627] New: " mueller at kde dot org
2005-11-01 23:06 ` [Bug middle-end/24627] " mueller at kde dot org
2005-11-01 23:08 ` steven at gcc dot gnu dot org
2005-11-01 23:09 ` steven at gcc dot gnu dot org
2005-11-01 23:09 ` steven at gcc dot gnu dot org
2005-11-01 23:10 ` pinskia at gcc dot gnu dot org
2005-11-01 23:12 ` pinskia at gcc dot gnu dot org
2005-11-01 23:22 ` pinskia at gcc dot gnu dot org
2005-11-01 23:32 ` pinskia at gcc dot gnu dot org
2005-11-01 23:34 ` pinskia at gcc dot gnu dot org
2005-11-02  0:55 ` mmitchel at gcc dot gnu dot org
2005-11-02  2:44 ` dnovillo at gcc dot gnu dot org
2005-11-02 15:47 ` pinskia at gcc dot gnu dot org
2005-11-02 15:53 ` pinskia at gcc dot gnu dot org
2005-11-02 16:03 ` pinskia at gcc dot gnu dot org [this message]
2005-11-02 16:12 ` pinskia at gcc dot gnu dot org
2005-11-02 16:39 ` pinskia at gcc dot gnu dot org
2005-11-02 17:02 ` pinskia at gcc dot gnu dot org
2005-11-02 19:41 ` dnovillo at gcc dot gnu dot org
2005-11-04 19:56 ` [Bug tree-optimization/24627] " dnovillo at gcc dot gnu dot org
2005-11-04 19:57 ` dnovillo 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=20051102160303.31059.qmail@sourceware.org \
    --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).