public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12578] New: [tree-ssa] Segfault when optimizing switch statement
@ 2003-10-11 15:38 falk at debian dot org
  2003-10-13  5:23 ` [Bug optimization/12578] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: falk at debian dot org @ 2003-10-11 15:38 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [tree-ssa] Segfault when optimizing switch statement
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu

falk@juist:/tmp% cat min5.c
void trivial_regexp_p(int *s, int len)
{
    while (--len) {
        switch (*s++) {
            case '\\':
                switch (*s++) {
                    case '|':
                        ;
                }
        }
    }
}

falk@juist:/tmp% gcc -c -O min5.c -v                                     
Reading specs from
/usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/specs
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 3.5-tree-ssa 20031009 (merged 20031005)
 /usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../libexec/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/cc1 -quiet -v -iprefix /usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/ min5.c -quiet -dumpbase min5.c -mcpu=ev67 -auxbase min5 -O -version -o /tmp/cc4RLbEi.s
ignoring nonexistent directory
"/usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/../../../../alphaev68-unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/../../../../alphaev68-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/include
 /usr/local/include
 /usr/include
End of search list.
GNU C version 3.5-tree-ssa 20031009 (merged 20031005) (alphaev68-unknown-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20031009 (merged 20031005).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
min5.c: In function `trivial_regexp_p':

min5.c:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2004-08-08 23:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-11 15:38 [Bug optimization/12578] New: [tree-ssa] Segfault when optimizing switch statement falk at debian dot org
2003-10-13  5:23 ` [Bug optimization/12578] " pinskia at gcc dot gnu dot org
2003-10-17 14:22 ` pinskia at gcc dot gnu dot org
2003-10-17 14:24 ` pinskia at gcc dot gnu dot org
2003-10-17 19:55 ` pinskia at gcc dot gnu dot org
2004-08-08 23:17 ` [Bug tree-optimization/12578] " cvs-commit 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).