This is with the Polyhedron rnflow.f90 test case
(http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html)

It was working on 2007-04-23 (should be r124055) and started to fail since
2007-04-24 (should be r124093). (Same with PR 31697)

Crash after 1.5 seconds with
  gfortran -m32 -march=opteron -ftree-vectorize -O2 rnflow.f90

Same crash with -m64.

no crash:
- without: -march=opteron
- without: -ftree-vectorize
- with: -O1

Program received signal SIGSEGV, Segmentation fault.
#0  0x00000000004058a9 in invima (__result=<value optimized out>,
a=0x2ac0ff48d010, [EMAIL PROTECTED], k=<value optimized out>,
    [EMAIL PROTECTED]) at rnflow.f90:2904
#1  0x0000000000407446 in evlrnf_ (ptrs0t=<value optimized out>, nclsm=<value
optimized out>, prnf0t=0xdaf380) at rnflow.f90:2771

  2899        elseif (n > 1) then
  2900           allocate (da (1:n,1:n))
  2901           lw = n * m
  2902           allocate (dw (1:lw))
  2903           allocate (ipivt (1:n))
  2904           da (1:n, 1:n) = - a (j:k-1, j:k-1)
  2905           do i = 1, n
  2906              da (i, i) = da (i, i) + 1.0d0
  2907           enddo


-- 
           Summary: [Regression 4.3] -march=opteron -ftree-vectorize
                    generates wrong code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to