public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49712] New: internal compiler error: in gen_lsm_tmp_name, at tree-ssa-loop-im.c:2048
@ 2011-07-12  5:03 regehr at cs dot utah.edu
  2011-07-12  5:16 ` [Bug tree-optimization/49712] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: regehr at cs dot utah.edu @ 2011-07-12  5:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error: in gen_lsm_tmp_name, at
                    tree-ssa-loop-im.c:2048
           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: arthur.j.odwyer@gmail.com


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

small.c: In function 'main':
small.c:40:5: internal compiler error: in gen_lsm_tmp_name, at
tree-ssa-loop-im.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

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

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

[regehr@gamow tmp040]$ cat small.c


int safe_14 (int si1, int si2) {
  return 0;
}

struct S0 {
  int f5;
};

struct S1 {
};

int g_60[100];
int g_61;
int g_62;
struct S0 g_74;
int g_104;
struct S1 g_660;

int func_75 (struct S0 *p_78) {
 lbl_126:
  for (; 0;)
    goto lbl_126;
  return 0;
}

struct S0 *func_80 (void) {
  int l_90;
  for (l_90 = 0; l_90 <= 4; l_90 += 1)
    for (; g_74.f5 <= 0; g_74.f5 = 1)
      {
    int i;
    for (i = 0; i < 4; i++)
      for (g_104 = 0; g_104; g_104 = 1)
        {
        }
      }
  return 0;
}

int main (void) {
  for (g_61 = 0; g_61 <= 0; g_61 += 1) {
    for (; g_62; g_62 -= 0) {
      long *l_132 = 0;
      safe_14 (g_60[g_61] = 0, func_75 (func_80 ())), *l_132 = (func_80 (), 0);
    }
  }
  return 0;
}


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

end of thread, other threads:[~2011-08-04 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12  5:03 [Bug c/49712] New: internal compiler error: in gen_lsm_tmp_name, at tree-ssa-loop-im.c:2048 regehr at cs dot utah.edu
2011-07-12  5:16 ` [Bug tree-optimization/49712] " pinskia at gcc dot gnu.org
2011-07-12  6:38 ` jakub at gcc dot gnu.org
2011-07-12  7:03 ` jakub at gcc dot gnu.org
2011-07-12  8:51 ` rguenth at gcc dot gnu.org
2011-07-12  8:54 ` rguenth at gcc dot gnu.org
2011-07-12  9:13 ` jakub at gcc dot gnu.org
2011-08-04 15:19 ` 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).