public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "regehr at cs dot utah.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/51245] New: ICE in vn_reference_insert_pieces, at tree-ssa-sccvn.c:1983
Date: Sun, 20 Nov 2011 21:13:00 -0000	[thread overview]
Message-ID: <bug-51245-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 51245
           Summary: ICE in vn_reference_insert_pieces, at
                    tree-ssa-sccvn.c:1983
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: regehr@cs.utah.edu


[regehr@gamow tmp065]$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r181530-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.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-r181530-install
--program-prefix=r181530- --enable-languages=c,c++
Thread model: posix
gcc version 4.7.0 20111120 (experimental) (GCC) 

[regehr@gamow tmp065]$ current-gcc -Ofast -c -w small.c

small.c: In function 'func_1':
small.c:11:1: internal compiler error: in vn_reference_insert_pieces, at
tree-ssa-sccvn.c:1983
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@gamow tmp065]$ cat small.c 


struct S0
{
  int f4;
};
struct S0 g_122;
struct S0 *g_140;
struct S0 **g_348;
unsigned func_10 (int, int, char);
int func_75;
struct S0
func_1 ()
{
  struct S0 l_444 = {
  };
  if (func_10 (0, 0, 0))
    {
      struct S0 *l_463 = &g_122;
      for (;;)
    {
      *g_140 = l_444;
      *l_463 = *g_140;
      if (g_122.f4)
        break;
    }
    }
  return **g_348;
}

unsigned
func_10 (int p_11, int p_12, char p_13)
{
  if (func_75)
    **g_348 = *g_140;
  return 1;
}


             reply	other threads:[~2011-11-20 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-20 21:13 regehr at cs dot utah.edu [this message]
2011-11-25  9:37 ` [Bug tree-optimization/51245] [4.7 Regression] " jakub at gcc dot gnu.org
2011-12-05 15:20 ` rguenth at gcc dot gnu.org
2011-12-06 11:41 ` rguenth at gcc dot gnu.org
2011-12-06 12:06 ` rguenth 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-51245-4@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).