public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31699]  New: [Regression 4.3] -march=opteron -ftree-vectorize generates wrong code
@ 2007-04-25 12:27 burnus at gcc dot gnu dot org
  2007-04-26  9:36 ` [Bug middle-end/31699] " jb at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-25 12:27 UTC (permalink / raw)
  To: gcc-bugs

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, j=@0x7fffac442b18, k=<value optimized out>,
    m=@0x7fffac442b1c) 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


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

end of thread, other threads:[~2007-06-08  6:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 12:27 [Bug middle-end/31699] New: [Regression 4.3] -march=opteron -ftree-vectorize generates wrong code burnus at gcc dot gnu dot org
2007-04-26  9:36 ` [Bug middle-end/31699] " jb at gcc dot gnu dot org
2007-04-26 10:21 ` ubizjak at gmail dot com
2007-04-26 18:34 ` dorit at il dot ibm dot com
2007-04-26 18:37 ` dorit at il dot ibm dot com
2007-04-27 10:35 ` ubizjak at gmail dot com
2007-04-27 23:47 ` [Bug middle-end/31699] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-05-02 19:38 ` dorit at il dot ibm dot com
2007-05-03 12:55 ` dorit at gcc dot gnu dot org
2007-05-03 13:17 ` burnus at gcc dot gnu dot org
2007-05-03 13:18 ` burnus at gcc dot gnu dot org
2007-06-08  6:32 ` irar 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).