public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/48343] [4.6/4.7 Regression] ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep.c: in form_sum, at reload.c:5338
Date: Wed, 30 Mar 2011 09:02:00 -0000	[thread overview]
Message-ID: <bug-48343-4-JPc7zajjJ6@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48343-4@http.gcc.gnu.org/bugzilla/>

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.5.2
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2011.03.30 08:54:12
          Component|target                      |debug
     Ever Confirmed|0                           |1
            Summary|ICE compiling i586          |[4.6/4.7 Regression] ICE
                   |linux-2.6.38/drivers/stagin |compiling i586
                   |g/wlan-ng/p80211wep.c: in   |linux-2.6.38/drivers/stagin
                   |form_sum, at reload.c:5338  |g/wlan-ng/p80211wep.c: in
                   |                            |form_sum, at reload.c:5338
   Target Milestone|---                         |4.6.1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-30 08:54:12 UTC ---
Confirmed.  Reduced testcase:

#define swap(a, b) \
        do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0)
struct dev {
      int       keylens[4];
};
void test(struct dev *dev, int keynum, unsigned char *iv)
{
  unsigned int i, j, keylen;
  unsigned char s[256], key[64];
  keylen = dev->keylens[keynum];
  key[0] = iv[0];
  for (i = 0; i < 256; i++) 
    {
      j = (j + s[i] + key[i % keylen]) & 0xff;
      swap(i, j);
    }
}

also fails on x86_64-*-* with -O3 -g -m32.


  reply	other threads:[~2011-03-30  8:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 22:35 [Bug c/48343] New: " pcpa at mandriva dot com.br
2011-03-30  9:02 ` rguenth at gcc dot gnu.org [this message]
2011-03-30  9:49 ` [Bug debug/48343] [4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2011-03-30 14:24 ` jakub at gcc dot gnu.org
2011-03-30 14:25 ` jakub at gcc dot gnu.org
2011-03-30 15:37 ` jakub at gcc dot gnu.org
2011-03-30 15:56 ` jakub at gcc dot gnu.org
2011-03-30 17:43 ` molitor@microbiology-bonn.de
2011-03-31 18:44 ` pcpa at mandriva dot com.br
2011-04-07 17:57 ` jakub at gcc dot gnu.org
2011-04-07 17:58 ` jakub at gcc dot gnu.org
2011-04-07 18:05 ` jakub at gcc dot gnu.org
2011-04-07 18:07 ` jakub 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-48343-4-JPc7zajjJ6@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).