public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43679]  New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
@ 2010-04-07 20:30 regehr at cs dot utah dot edu
  2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: regehr at cs dot utah dot edu @ 2010-04-07 20:30 UTC (permalink / raw)
  To: gcc-bugs

[regehr@gamow tmp400]$ current-gcc -c -O2 small.c
small.c: In function 'func_37':
small.c:11:6: internal compiler error: in gen_lsm_tmp_name, at
tree-ssa-loop-im.c:1812
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@gamow tmp400]$ cat small.c

unsigned g_5;
int g_7;
int g_23[2];
int *g_29 = &g_23[0];
int **g_59;
unsigned long g_186;

int foo (int, int);
int bar (int);

void func_37 (long p_38)
{
  int *l_39 = &g_7;
  *l_39 = (*l_39
             ||
             (foo
              (((*g_29 != *l_39, ((bar (g_59 != &l_39), 0), 0))),
               0)));
  foo (*l_39, 0);
  int **l_256 = &l_39;
  {
    for (0; g_186; 0)
      {
        *l_256 = *l_256;
        if (g_5)
          goto lbl_270;
        *l_39 &= 0;
      }
  }
lbl_270:
  ;
}

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

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r158079-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-r158079-install
--program-prefix=r158079- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100407 (experimental) (GCC)


-- 
           Summary: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
           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=43679


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

end of thread, other threads:[~2010-04-08 10:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
2010-04-08  8:14 ` [Bug tree-optimization/43679] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-04-08  9:11 ` rguenth at gcc dot gnu dot org
2010-04-08 10:22 ` rguenth at gcc dot gnu dot org
2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
2010-04-08 10:26 ` rguenth at gcc dot gnu dot 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).