public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "regehr at cs dot utah dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/44695]  New: ice in simplify_subreg, at simplify-rtx.c:5117
Date: Mon, 28 Jun 2010 06:01:00 -0000	[thread overview]
Message-ID: <bug-44695-12544@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]

regehr@john-home:~/volatile/bugs/tmp319$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r161425-install/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r161425-install
--program-prefix=r161425- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100626 (experimental) (GCC) 

regehr@john-home:~/volatile/bugs/tmp319$ current-gcc -O2 small.c -c 

small.c: In function ‘int81’:
small.c:20:1: internal compiler error: in simplify_subreg, at
simplify-rtx.c:5117
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

regehr@john-home:~/volatile/bugs/tmp319$ cat small.c

typedef int int32_t;
typedef unsigned char uint8_t;

static uint8_t
safe_div_func_uint8_t_u_u (uint8_t ui1, uint8_t ui2)
{
  return ui2 ? : (ui1 / ui2);
}

int safe (int);
int func_51 (int);

void
int81 (void)
{
  int32_t l_219 = 8L;
  if (safe (safe_div_func_uint8_t_u_u (1 || 0, l_219 & func_51 (0))))
    {
    }
}


-- 
           Summary: ice in simplify_subreg, at simplify-rtx.c:5117
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: regehr at cs dot utah dot edu
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


             reply	other threads:[~2010-06-28  6:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28  6:01 regehr at cs dot utah dot edu [this message]
2010-06-28  9:17 ` [Bug rtl-optimization/44695] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-06-28 21:57 ` hjl dot tools at gmail dot com
2010-06-28 23:21 ` hjl dot tools at gmail dot com
2010-06-29 19:16 ` hjl dot tools at gmail dot com
2010-06-30 11:52 ` bonzini at gnu dot org
2010-06-30 18:15 ` hjl dot tools at gmail dot com
2010-06-30 18:47 ` hjl dot tools at gmail dot com
2010-07-01 17:47 ` hjl dot tools at gmail dot com
2010-07-02  0:37 ` hjl dot tools at gmail dot com
2010-07-04 23:18 ` hjl at gcc dot gnu dot org
2010-07-05 12:21 ` jakub at gcc dot gnu dot org
2010-07-07 21:12 ` hjl 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=bug-44695-12544@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).