public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49916] New: matrix-reorg optimization segmentation fault
@ 2011-07-30 19:33 nbjensen at gmail dot com
  2011-07-31  9:44 ` [Bug tree-optimization/49916] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: nbjensen at gmail dot com @ 2011-07-30 19:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: matrix-reorg optimization segmentation fault
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: nbjensen@gmail.com


Created attachment 24873
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24873
Source code to reproduce.

GCC 4.5.1, 4.5.2(.deb) and 4.6.0.
System: Ubuntu 11.04.

Compile options:
gcc -Wall -O3 -fwhole-program -fipa-matrix-reorg -fdump-ipa-matrix-reorg
-std=c99 double-2d-matrix.c

No errors or warnings when compiling. When running the program a segmentation
fault.

Valgrind was used to analyze memory the memory management and the memory write
A[1][0] was not allocated.

If the sizes of the matrix dimensions are changed the bug might disappear. It
seems a bit random.


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

* [Bug tree-optimization/49916] matrix-reorg optimization segmentation fault
  2011-07-30 19:33 [Bug tree-optimization/49916] New: matrix-reorg optimization segmentation fault nbjensen at gmail dot com
@ 2011-07-31  9:44 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-31  9:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-31 09:44:01 UTC ---
matrix-reorg is broken, don't use it.


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

end of thread, other threads:[~2011-07-31  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-30 19:33 [Bug tree-optimization/49916] New: matrix-reorg optimization segmentation fault nbjensen at gmail dot com
2011-07-31  9:44 ` [Bug tree-optimization/49916] " 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).