public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/30770] [4.3 regression] BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the stage 3 compiler
Date: Sat, 24 Feb 2007 22:54:00 -0000	[thread overview]
Message-ID: <20070224225435.5374.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30770-682@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from ubizjak at gmail dot com  2007-02-24 22:54 -------
It was a typo in expand_movmem_epilogue() and expand_setmem_epilogue().
Following patch, fixes this bug and together with patch for PR target/30778
(http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01937.html) enables bootstrap for
all x86_64 targets.

2007-02-24  Uros Bizjak  <ubizjak@gmail.com>

        PR target/30770
        * config/i386/i386.md (expand_movmem_epilogue): Fix typo, mask
        count argument with 0x10, not with 0x16.
        (expand_setmem_epilogue): Ditto.

Index: i386.c
===================================================================
--- i386.c      (revision 122286)
+++ i386.c      (working copy)
@@ -13522,7 +13549,7 @@
       HOST_WIDE_INT countval = INTVAL (count);
       int offset = 0;

-      if ((countval & 0x16) && max_size > 16)
+      if ((countval & 0x10) && max_size > 16)
        {
          if (TARGET_64BIT)
            {
@@ -13675,7 +13702,7 @@
       HOST_WIDE_INT countval = INTVAL (count);
       int offset = 0;

-      if ((countval & 0x16) && max_size > 16)
+      if ((countval & 0x10) && max_size > 16)
        {
          if (TARGET_64BIT)
            {


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |30778
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-02-24 19:09:51         |2007-02-24 22:54:35
               date|                            |


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


  parent reply	other threads:[~2007-02-24 22:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  5:20 [Bug target/30770] New: BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled thes " hjl at lucon dot org
2007-02-12  5:21 ` [Bug target/30770] " hjl at lucon dot org
2007-02-12 21:09 ` hjl at lucon dot org
2007-02-12 21:20 ` [Bug target/30770] [4.3 regression]: " belyshev at depni dot sinp dot msu dot ru
2007-02-16  2:00 ` [Bug target/30770] [4.3 regression] BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the " pinskia at gcc dot gnu dot org
2007-02-23 23:29 ` h dot mth at web dot de
2007-02-24 19:10 ` ubizjak at gmail dot com
2007-02-24 22:54 ` ubizjak at gmail dot com [this message]
2007-02-24 23:29 ` uros at gcc dot gnu dot org
2007-02-26  7:05 ` ubizjak at gmail dot com

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=20070224225435.5374.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).