public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48734] New: ICE in eliminate_redundant_comparison, at tree-ssa-reassoc.c:1321
@ 2011-04-22 20:53 regehr at cs dot utah.edu
  2011-04-26  6:16 ` [Bug tree-optimization/48734] [4.6/4.7 Regression] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: regehr at cs dot utah.edu @ 2011-04-22 20:53 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in eliminate_redundant_comparison, at
                    tree-ssa-reassoc.c:1321
           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
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu


[regehr@gamow tmp013]$ current-gcc -O3 small.c
small.c: In function 'func_69':
small.c:12:1: internal compiler error: in eliminate_redundant_comparison, at
tree-ssa-reassoc.c:1321
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[regehr@gamow tmp013]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r172870-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-r172870-install
--program-prefix=r172870- --enable-languages=c,c++
Thread model: posix
gcc version 4.7.0 20110422 (experimental) (GCC) 
[regehr@gamow tmp013]$ cat small.c
int
safe_21 (int si)
{
  return si == -2147483647 - 1 ? si : -si;
}

unsigned g_73;
unsigned g_79;
long g_178;
int g_709;
int *
func_69 (p_71)
{
  long l_78 = 1;
  int i;
  for (i = 0; l_78 < 10; l_78 += 1)
    for (g_79 = 0; g_79 < 1; g_79 = 1)
      g_178 &= safe_21 (p_71) > g_73;
  return 0;
}

void
func_60 (unsigned p_61, int *p_62, int *p_64)
{
  func_69 (p_61);
}

int
main (void)
{
  int *l_858 = &g_709;
  int i;
  for (i = 0; i < 1; g_73 = 1)
    for (; i < 1; i++)
      {
      }
  long l_857 = 1;
  func_60 (l_857, l_858, &g_709);
  func_60 (0, 0, 0);
  return 0;
}


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

end of thread, other threads:[~2011-04-26 13:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22 20:53 [Bug c/48734] New: ICE in eliminate_redundant_comparison, at tree-ssa-reassoc.c:1321 regehr at cs dot utah.edu
2011-04-26  6:16 ` [Bug tree-optimization/48734] [4.6/4.7 Regression] " jakub at gcc dot gnu.org
2011-04-26  6:57 ` jakub at gcc dot gnu.org
2011-04-26  7:39 ` jakub at gcc dot gnu.org
2011-04-26 12:17 ` rguenth at gcc dot gnu.org
2011-04-26 13:37 ` jakub at gcc dot gnu.org
2011-04-26 13:46 ` jakub at gcc dot gnu.org
2011-04-26 13:50 ` 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).