public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42334]  New: segfault in graphite-poly.h for 200.sixtrack
@ 2009-12-08 19:08 janis at gcc dot gnu dot org
  2009-12-14 19:17 ` [Bug tree-optimization/42334] " spop at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-12-08 19:08 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]

GCC trunk gets a segmentation fault when building SPEC CPU2000 test
200.sixtrack with "-floop-interchange -ftree-loop-distribution" on
powerpc-linux, as demonstrated by this minimized testcase:

      subroutine blockdis(bl1eg,bl2eg)
      implicit real*8 (a-h,o-z)
      parameter(nblo=300)
      common/str /mblo
      common/str2 /mel(nblo)
      dimension h(nblo,2,6),g(nblo,2,6)
      dimension bl1eg(nblo,2,6),bl2eg(nblo,2,6)
      do k=1,mblo
        jm=mel(k)
        do l=1,2
          do m=1,6
            bl1eg(k,l,m)=h(jm,l,m)
            bl2eg(k,l,m)=g(jm,l,m)
          enddo
        enddo
      enddo
      return
      end

n function ‘blockdis’:
bug.f:1:0: 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.See
<http://gcc.gnu.org/bugs.html> for instructions.

The segfault is in VEC_lst_p_base_iterate at graphite-poly.h:623.

sixtrack passed with the now-failing options until r150248.  With the merge
from the Graphite branch at r150301 that test started failing at runtime.  (In
between those two revisions trunk didn't build with Graphite for
powerpc-linux).  sixtrack failed at runtime with r154631, and GCC started
getting the segmentation fault at r154632.


-- 
           Summary: segfault in graphite-poly.h for 200.sixtrack
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux


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


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-08 19:08 [Bug tree-optimization/42334] New: segfault in graphite-poly.h for 200.sixtrack janis at gcc dot gnu dot org
2009-12-14 19:17 ` [Bug tree-optimization/42334] " 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:06 ` rguenth at gcc dot gnu dot org
2009-12-23  7:51 ` spop at gcc dot gnu dot org
2009-12-23  7:53 ` spop at gcc dot gnu dot org
2009-12-24  2:29 ` howarth at nitro dot med dot uc dot edu
2009-12-24  2:34 ` howarth at nitro dot med dot uc dot edu
2010-01-04 13:12 ` burnus at gcc dot gnu dot org
2010-01-07 21:03 ` dominiq at lps dot ens dot fr
2010-01-07 21:32 ` 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).