public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42211]  New: Segmentation fault with graphite -floop-interchange
@ 2009-11-29  9:37 astrange at ithinksw dot com
  2009-11-29  9:38 ` [Bug tree-optimization/42211] " astrange at ithinksw dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: astrange at ithinksw dot com @ 2009-11-29  9:37 UTC (permalink / raw)
  To: gcc-bugs

> gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc45/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc45/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10.2.0
Configured with: ../gcc/configure --prefix=/usr/local/gcc45
--enable-threads=posix --with-arch=core2 --with-tune=core2 --with-gmp=/sw
--with-mpfr=/sw --with-ppl=/sw --with-cloog=/sw --with-libelf=/sw --disable-nls
--disable-bootstrap LDFLAGS=/usr/lib/libiconv.dylib
--enable-languages=c,c++,lto,objc,obj-c++
Thread model: posix
gcc version 4.5.0 20091129 (experimental) (GCC) 

Using r154734.

With attached source:
> gcc -O3 -floop-interchange -S graphite_crash.i
graphite_crash.i: In function 'border_mirror_480':
graphite_crash.i:17:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

It doesn't happen reliably to me with -v -Q, so I can't check with gdb.
Valgrind gives:
==12758== Invalid read of size 8
==12758==    at 0x1004AE4A3: lst_do_interchange_1 (graphite-interchange.c:709)
==12758==    by 0x1004AE525: lst_do_interchange (graphite-interchange.c:730)
==12758==    by 0x1004AE58A: lst_do_interchange (graphite-interchange.c:734)
==12758==    by 0x1004AE5CA: scop_do_interchange (graphite-interchange.c:748)
==12758==    by 0x1004AF4C7: apply_poly_transforms (graphite-poly.c:260)
==12758==    by 0x1004A01A1: graphite_transform_loops (graphite.c:276)
==12758==    by 0x100736B09: graphite_transforms (tree-ssa-loop.c:300)
==12758==    by 0x10057D522: execute_one_pass (passes.c:1522)
==12758==    by 0x10057D7CC: execute_pass_list (passes.c:1577)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)
==12758==    by 0x1006AAA80: tree_rest_of_compilation (tree-optimize.c:408)
==12758==  Address 0x141c25210 is 16 bytes inside a block of size 24 free'd
==12758==    at 0x140EB88DC: free (vg_replace_malloc.c:325)
==12758==    by 0x1004AE00C: lst_try_interchange (graphite-poly.h:704)
==12758==    by 0x1004AE49F: lst_do_interchange_1 (graphite-interchange.c:710)
==12758==    by 0x1004AE525: lst_do_interchange (graphite-interchange.c:730)
==12758==    by 0x1004AE58A: lst_do_interchange (graphite-interchange.c:734)
==12758==    by 0x1004AE5CA: scop_do_interchange (graphite-interchange.c:748)
==12758==    by 0x1004AF4C7: apply_poly_transforms (graphite-poly.c:260)
==12758==    by 0x1004A01A1: graphite_transform_loops (graphite.c:276)
==12758==    by 0x100736B09: graphite_transforms (tree-ssa-loop.c:300)
==12758==    by 0x10057D522: execute_one_pass (passes.c:1522)
==12758==    by 0x10057D7CC: execute_pass_list (passes.c:1577)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)
==12758== 
==12758== Invalid read of size 8
==12758==    at 0x1004AE534: lst_do_interchange (graphite-interchange.c:732)
==12758==    by 0x1004AE58A: lst_do_interchange (graphite-interchange.c:734)
==12758==    by 0x1004AE5CA: scop_do_interchange (graphite-interchange.c:748)
==12758==    by 0x1004AF4C7: apply_poly_transforms (graphite-poly.c:260)
==12758==    by 0x1004A01A1: graphite_transform_loops (graphite.c:276)
==12758==    by 0x100736B09: graphite_transforms (tree-ssa-loop.c:300)
==12758==    by 0x10057D522: execute_one_pass (passes.c:1522)
==12758==    by 0x10057D7CC: execute_pass_list (passes.c:1577)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)
==12758==    by 0x1006AAA80: tree_rest_of_compilation (tree-optimize.c:408)
==12758==    by 0x100866F56: cgraph_expand_function (cgraphunit.c:1178)
==12758==  Address 0x141c25210 is 16 bytes inside a block of size 24 free'd
==12758==    at 0x140EB88DC: free (vg_replace_malloc.c:325)
==12758==    by 0x1004AE00C: lst_try_interchange (graphite-poly.h:704)
==12758==    by 0x1004AE49F: lst_do_interchange_1 (graphite-interchange.c:710)
==12758==    by 0x1004AE525: lst_do_interchange (graphite-interchange.c:730)
==12758==    by 0x1004AE58A: lst_do_interchange (graphite-interchange.c:734)
==12758==    by 0x1004AE5CA: scop_do_interchange (graphite-interchange.c:748)
==12758==    by 0x1004AF4C7: apply_poly_transforms (graphite-poly.c:260)
==12758==    by 0x1004A01A1: graphite_transform_loops (graphite.c:276)
==12758==    by 0x100736B09: graphite_transforms (tree-ssa-loop.c:300)
==12758==    by 0x10057D522: execute_one_pass (passes.c:1522)
==12758==    by 0x10057D7CC: execute_pass_list (passes.c:1577)
==12758==    by 0x10057D7DE: execute_pass_list (passes.c:1578)


-- 
           Summary: Segmentation fault with graphite -floop-interchange
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: astrange at ithinksw dot com
 GCC build triplet: x86_64-apple-darwin10.2.0
  GCC host triplet: x86_64-apple-darwin10.2.0
GCC target triplet: x86_64-apple-darwin10.2.0


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


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

* [Bug tree-optimization/42211] Segmentation fault with graphite -floop-interchange
  2009-11-29  9:37 [Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange astrange at ithinksw dot com
@ 2009-11-29  9:38 ` astrange at ithinksw dot com
  2009-12-01 19:46 ` [Bug tree-optimization/42211] [4.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: astrange at ithinksw dot com @ 2009-11-29  9:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from astrange at ithinksw dot com  2009-11-29 09:38 -------
Created an attachment (id=19175)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19175&action=view)
somewhat-reduced source


-- 


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


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

* [Bug tree-optimization/42211] [4.5 Regression] Segmentation fault with graphite -floop-interchange
  2009-11-29  9:37 [Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange astrange at ithinksw dot com
  2009-11-29  9:38 ` [Bug tree-optimization/42211] " astrange at ithinksw dot com
@ 2009-12-01 19:46 ` pinskia at gcc dot gnu dot org
  2009-12-02 12:15 ` rguenth at gcc dot gnu dot org
  2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-01 19:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|Segmentation fault with     |[4.5 Regression]
                   |graphite -floop-interchange |Segmentation fault with
                   |                            |graphite -floop-interchange
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/42211] [4.5 Regression] Segmentation fault with graphite -floop-interchange
  2009-11-29  9:37 [Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange astrange at ithinksw dot com
  2009-11-29  9:38 ` [Bug tree-optimization/42211] " astrange at ithinksw dot com
  2009-12-01 19:46 ` [Bug tree-optimization/42211] [4.5 Regression] " pinskia at gcc dot gnu dot org
@ 2009-12-02 12:15 ` rguenth at gcc dot gnu dot org
  2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-02 12:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug tree-optimization/42211] [4.5 Regression] Segmentation fault with graphite -floop-interchange
  2009-11-29  9:37 [Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange astrange at ithinksw dot com
                   ` (2 preceding siblings ...)
  2009-12-02 12:15 ` rguenth at gcc dot gnu dot org
@ 2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-13 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-12-13 22:20 -------


*** This bug has been marked as a duplicate of 42178 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2009-12-13 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-29  9:37 [Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange astrange at ithinksw dot com
2009-11-29  9:38 ` [Bug tree-optimization/42211] " astrange at ithinksw dot com
2009-12-01 19:46 ` [Bug tree-optimization/42211] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-12-02 12:15 ` rguenth at gcc dot gnu dot org
2009-12-13 22:20 ` rguenth 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).