public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51246] New: ICE in replace_ref_with, at tree-predcom.c:1309
@ 2011-11-20 22:26 regehr at cs dot utah.edu
  2011-11-23 17:56 ` [Bug tree-optimization/51246] [4.7 Regression] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: regehr at cs dot utah.edu @ 2011-11-20 22:26 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51246
           Summary: ICE in replace_ref_with, at tree-predcom.c:1309
    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
                CC: chenyang@cs.utah.edu


[regehr@gamow tmp067]$ 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 tmp067]$ current-gcc -c -w -Ofast small.c

small.c: In function 'func_2':
small.c:16:1: internal compiler error: in replace_ref_with, at
tree-predcom.c:1309
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@gamow tmp067]$ cat small.c


int
func_42 (int si1, int si2)
{
  return si1;
}

int
func_11 (int ui1, int ui2)
{
  return ui1;
}

char g_50;
int *g_71;
int *
func_2 ()
{
  int **l_422 = &g_71;
  for (;;)
    {
      int l_427;
      char *l_450 = &g_50;
      *l_422 = (*l_450 = func_11 (func_42 (l_427, 0), 0), &l_427);
    }
}


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-01 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-20 22:26 [Bug c/51246] New: ICE in replace_ref_with, at tree-predcom.c:1309 regehr at cs dot utah.edu
2011-11-23 17:56 ` [Bug tree-optimization/51246] [4.7 Regression] " jakub at gcc dot gnu.org
2011-11-24  9:23 ` jakub at gcc dot gnu.org
2011-12-01 17:06 ` jakub at gcc dot gnu.org
2011-12-01 17:08 ` jakub at gcc dot gnu.org

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