public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42178]  New: gcc.dg/graphite/interchange-8.c causes ICE
@ 2009-11-25 22:33 howarth at nitro dot med dot uc dot edu
  2009-12-01 19:50 ` [Bug middle-end/42178] [4.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-25 22:33 UTC (permalink / raw)
  To: gcc-bugs

At r154653, the gcc.dg/graphite/interchange-8.c test case results in a compiler
ICE on x86_64-apple-darwin10. The error shows up as...

Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c
  -O2 -fdump-tree-graphite-all  -floop-interchange -fno-loop-block
-fno-loop-strip-mine -ffast-math -S  -o interchange-8.s    (timeout = 300)
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:
In function 'foo':
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
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.
compiler exited with status 1
output is:
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:
In function 'foo':
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
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.

FAIL: gcc.dg/graphite/interchange-8.c (internal compiler error)
FAIL: gcc.dg/graphite/interchange-8.c (test for excess errors)
Excess errors:
/sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
internal compiler error: Segmentation fault

XFAIL: gcc.dg/graphite/interchange-8.c scan-tree-dump-times graphite "will be
interchanged" 1

A backtrace of the error shows...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
0x00000001004da882 in lst_try_interchange (scop=<value temporarily unavailable,
due to optimizations>, loop=<value temporarily unavailable, due to
optimizations>, lst=<value temporarily unavailable, due to optimizations>,
index=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:681
681         for (i = 0; VEC_iterate (lst_p, LST_SEQ (lst), i, l); i++)
(gdb) bt
#0  0x00000001004da882 in lst_try_interchange (scop=<value temporarily
unavailable, due to optimizations>, loop=<value temporarily unavailable, due to
optimizations>, lst=<value temporarily unavailable, due to optimizations>,
index=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:681
#1  0x00000001004dcc48 in lst_do_interchange_1 (scop=0x141826910,
loop=0x14182b460, index=0x7fff5fbfd20c) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:709
#2  0x00000001004dcca3 in lst_do_interchange (scop=0x141826910,
loop=0x14182b460, index=0x7fff5fbfd20c) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:730
#3  0x00000001004dcd0b in lst_do_interchange (scop=0x141826910,
loop=0x14182b480, index=0x7fff5fbfd20c) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:734
#4  0x00000001004dcd37 in scop_do_interchange (scop=0x141826910) at
../../gcc-4.5-20091125/gcc/graphite-interchange.c:748
#5  0x00000001004de288 in apply_poly_transforms (scop=0x141826910) at
../../gcc-4.5-20091125/gcc/graphite-poly.c:260
#6  0x00000001004caab3 in graphite_transform_loops () at
../../gcc-4.5-20091125/gcc/graphite.c:276
#7  0x000000010076d6ba in graphite_transforms () at
../../gcc-4.5-20091125/gcc/tree-ssa-loop.c:300
#8  0x00000001005ad4e1 in execute_one_pass (pass=0x100bfc200) at
../../gcc-4.5-20091125/gcc/passes.c:1522
#9  0x00000001005ad7dd in execute_pass_list (pass=0x100bfc200) at
../../gcc-4.5-20091125/gcc/passes.c:1577
#10 0x00000001005ad7ef in execute_pass_list (pass=0x100bfbf60) at
../../gcc-4.5-20091125/gcc/passes.c:1578
#11 0x00000001005ad7ef in execute_pass_list (pass=0x100bfb5a0) at
../../gcc-4.5-20091125/gcc/passes.c:1578
#12 0x00000001006df104 in tree_rest_of_compilation (fndecl=0x141e03f00) at
../../gcc-4.5-20091125/gcc/tree-optimize.c:411
#13 0x000000010089782b in cgraph_expand_function (node=0x141d0c440) at
../../gcc-4.5-20091125/gcc/cgraphunit.c:1178
#14 0x000000010089992a in cgraph_optimize () at
../../gcc-4.5-20091125/gcc/cgraphunit.c:1245
#15 0x0000000100899f3f in cgraph_finalize_compilation_unit () at
../../gcc-4.5-20091125/gcc/cgraphunit.c:1107
#16 0x000000010001f472 in c_write_global_declarations () at
../../gcc-4.5-20091125/gcc/c-decl.c:9489
#17 0x00000001006745d2 in toplev_main (argc=28, argv=0x7fff5fbfd5e0) at
../../gcc-4.5-20091125/gcc/toplev.c:1061
#18 0x0000000100000a04 in start ()

Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10.2.0
Configured with: ../gcc-4.5-20091125/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib
Thread model: posix
gcc version 4.5.0 20091125 (experimental) (GCC)


-- 
           Summary: gcc.dg/graphite/interchange-8.c causes ICE
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


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

end of thread, other threads:[~2010-01-07 18:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
2009-12-01 19:50 ` [Bug middle-end/42178] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-12-02 12:13 ` rguenth at gcc dot gnu dot org
2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
2009-12-14 19:20 ` spop at gcc dot gnu dot org
2009-12-15  8:39 ` spop at gcc dot gnu dot org
2009-12-15  8:41 ` spop at gcc dot gnu dot org
2009-12-15 21:12 ` spop at gcc dot gnu dot org
2009-12-17 21:58 ` spop at gcc dot gnu dot org
2009-12-19 19:05 ` rguenth at gcc dot gnu dot org
2009-12-19 19:06 ` rguenth at gcc dot gnu dot org
2009-12-23  7:52 ` spop at gcc dot gnu dot org
2009-12-23  7:53 ` spop at gcc dot gnu dot org
2009-12-24  1:26 ` howarth at nitro dot med dot uc dot edu
2009-12-24  1:30 ` howarth at nitro dot med dot uc dot edu
2009-12-24  1:35 ` howarth at nitro dot med dot uc dot edu
2009-12-27 18:54 ` hjl dot tools at gmail dot com
2009-12-27 18:54 ` hjl dot tools at gmail dot com
2010-01-05 22:55 ` [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite spop at gcc dot gnu dot org
2010-01-07 18:33 ` spop at gcc dot gnu dot org
2010-01-07 18:35 ` spop 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).