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/44977]  New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
Date: Sun, 18 Jul 2010 06:28:00 -0000	[thread overview]
Message-ID: <bug-44977-12544@http.gcc.gnu.org/bugzilla/> (raw)

[regehr@bethe tmp603]$ current-gcc -O2 small.c -c
small.c: In function 'int329':
small.c:31:38: warning: assignment makes integer from pointer without a cast
[enabled by default]
small.c:24:5: internal compiler error: in propagate_rhs_into_lhs, at
tree-ssa-dom.c:2728
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@bethe tmp603]$ cat small.c

static unsigned short
foo (unsigned short ui1, unsigned short ui2)
{
  return ui1 - ui2;
}

static unsigned short
bar (unsigned ui1, unsigned short ui2)
{
  return ui1 + ui2;
}

struct S1
{
  const short f3;
};
int g_31;
short g_67;
struct S1 g_68[2][5][9][1][1] = {
};

int func_90 (int);

int int329 (int * const *const int32p_81, short ** p_82)
{
  short l_169[8];
  for (g_31 = 0; g_31 <= 0; g_31 = foo (g_31, 1))
    {
      short l_85;
    lbl_89:g_67 ^= l_85;
      for (l_85 = 0; l_85 >= 0; l_85 = bar)
        if (g_31)
          goto lbl_89;
      func_90 (1), g_68[0][2][2][0][0].f3, 0;
    }
  return l_169[6];
}

[regehr@bethe tmp603]$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r162241-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r162241-install
--program-prefix=r162241- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100716 (experimental) (GCC)


-- 
           Summary: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
           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: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


             reply	other threads:[~2010-07-18  6:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-18  6:28 regehr at cs dot utah dot edu [this message]
2010-07-18 14:43 ` [Bug c/44977] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
2010-07-18 18:01 ` hjl dot tools at gmail dot com
2010-07-18 18:42 ` [Bug tree-optimization/44977] " rguenth at gcc dot gnu dot org
2010-07-20 11:20 ` rguenth at gcc dot gnu dot org
2010-07-20 12:45 ` rguenth at gcc dot gnu dot org
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
2010-07-27 13:05 ` rguenth at gcc dot gnu dot org
2010-07-27 13:06 ` rguenth 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-44977-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).