public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51042] New: segfault
@ 2011-11-08 23:01 regehr at cs dot utah.edu
  2011-11-09  9:15 ` [Bug tree-optimization/51042] [4.7 Regression] endless recursion in phi_translate jakub at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: regehr at cs dot utah.edu @ 2011-11-08 23:01 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51042
           Summary: segfault
    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


Valgrind wasn't too helpful in narrowing this down, just says something generic
about a stack overflow.

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

current-gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

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

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

[regehr@gamow tmp052]$ cat small.c 


int g_10;
int g_97;
int g_144;
int g_237;
int g_264[2][2];

int func_22 (p_25)
{
  for (; p_25;)
    {
      for (g_237 = 0; g_237 <= 1; g_237 = 1)
    if (g_264[g_144][g_10])
      break;
      for (g_97 = 0; g_97 <= 0; g_97 = 1)
    {
      g_264[g_144][g_10] = g_10;
      if (g_10)
        break;
    }
    }
  return 0;
}


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

end of thread, other threads:[~2012-07-02 10:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 23:01 [Bug c/51042] New: segfault regehr at cs dot utah.edu
2011-11-09  9:15 ` [Bug tree-optimization/51042] [4.7 Regression] endless recursion in phi_translate jakub at gcc dot gnu.org
2011-11-09  9:39 ` [Bug tree-optimization/51042] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2011-11-09 13:26 ` rguenth at gcc dot gnu.org
2011-11-09 14:43 ` rguenth at gcc dot gnu.org
2011-11-10 13:10 ` rguenth at gcc dot gnu.org
2011-11-10 15:37 ` rguenth at gcc dot gnu.org
2011-11-10 15:54 ` [Bug tree-optimization/51042] [4.5/4.6 " rguenth at gcc dot gnu.org
2012-01-03 14:47 ` rguenth at gcc dot gnu.org
2012-06-12  9:54 ` [Bug tree-optimization/51042] [4.5 " liujiangning at gcc dot gnu.org
2012-06-20 13:08 ` rguenth at gcc dot gnu.org
2012-07-02 10:16 ` rguenth 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).