public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21734] New: ICE: -ftree-vectorize, segfault
@ 2005-05-24  8:02 stefaandr at hotmail dot com
  2005-05-24 14:20 ` [Bug tree-optimization/21734] [4.1 regression] " reichelt at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: stefaandr at hotmail dot com @ 2005-05-24  8:02 UTC (permalink / raw)
  To: gcc-bugs

Segfault on compilation of following source:

struct _matrix {
  double lineardata[4 * 4];
  double & operator()(int row, int col = 0) {
    return lineardata[col * 4 + row];
  }
};

struct matrix : public _matrix {
  typedef _matrix parent;
  double & operator()(int row, int col = 0)
    { return parent::operator()(row,col); }
};

void add(matrix & __restrict in1, matrix & __restrict in2, matrix & __restrict
result) {
  for (int col=0; col<4; ++col)
    for (int row=0; row<4; ++row)
      result(row, col) = in1(row, col) + in2(row, col);
}

--- end of source ---


Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /esat/alexandria1/sderoeck/src/gcc/main/configure
--prefix=/esat/olympia/install --program-suffix=-cvs --enable-languages=c,c++
Thread model: posix
gcc version 4.1.0 20050523 (experimental)
 /esat/olympia/install/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1plus -quiet -v
-I/users/visics/sderoeck/projects/clean/CaveIn/Whistler -D_GNU_SOURCE test13.cpp
-quiet -dumpbasetest13.cpp -march=pentium4 -auxbase-strip test13.S -O9 -version
-fverbose-asm -fdump-tree-vect-stats -fdump-tree-vect-details -funroll-all-loops
-ftree-vectorize -o test13.S
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /users/visics/sderoeck/projects/clean/CaveIn/Whistler
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/i686-pc-linux-gnu
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward
 /esat/olympia/install/include
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/4.1.0/include
 /usr/include
End of search list.
GNU C++ version 4.1.0 20050523 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.0 20050523 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 99f1919b6616caa4cacd62f3245b1e14
test13.cpp: In function 'void add(matrix&, matrix&, matrix&)':
test13.cpp:14: 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.

-- 
           Summary: ICE: -ftree-vectorize, segfault
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stefaandr at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-02 18:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050524080015.21734.stefaan.deroeck@gmail.com>
2005-06-01 13:20 ` [Bug tree-optimization/21734] [4.1 regression] ICE: -ftree-vectorize, segfault dorit at il dot ibm dot com
2005-06-01 13:22 ` dorit at il dot ibm dot com
2005-06-01 18:08 ` giovannibajo at libero dot it
2005-06-01 19:15 ` dorit at il dot ibm dot com
2005-06-02  5:22 ` law at redhat dot com
2005-06-02 14:52 ` cvs-commit at gcc dot gnu dot org
2005-06-02 18:59 ` pinskia at gcc dot gnu dot org
2005-05-24  8:02 [Bug tree-optimization/21734] New: " stefaandr at hotmail dot com
2005-05-24 14:20 ` [Bug tree-optimization/21734] [4.1 regression] " reichelt at gcc dot gnu dot org
2005-05-24 14:24 ` pinskia at gcc dot gnu dot org
2005-05-25  6:20 ` law at redhat dot com
2005-05-25  8:44 ` dorit at il dot ibm dot com
2005-05-25 18:53 ` giovannibajo at libero dot it
2005-05-25 22:09 ` law at redhat dot com
2005-05-30 14:38 ` dorit at il dot ibm dot com
2005-05-30 20:06 ` stefaandr at hotmail dot com
2005-05-31 10:31 ` stefaandr at hotmail dot com
2005-05-31 23:48 ` pinskia at gcc dot gnu dot org
2005-06-01  8:41 ` reichelt 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).