public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31697]  New: [Regression 4.3] Crash of gen. prog. when using -funroll-loops -march=opteron
@ 2007-04-25 10:06 burnus at gcc dot gnu dot org
  2007-04-25 12:28 ` [Bug middle-end/31697] " burnus at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-25 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

The program crashes (in << 1 sec) with
  gfortran -funroll-loops -march=opteron -O2 -g aermod.f90

It does not crash:
 - without: -march=opteron
 - without: -funroll-loops
 - with: -O1

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

gdb shows:
Program received signal SIGSEGV, Segmentation fault.
#0  resini_ () at aermod.f90:23766
#1  0x00000000004c7357 in MAIN__ () at aermod.f90:2189

And valgrind:
==6590== Invalid write of size 4
==6590==    at 0x4066D1: resini_ (aermod.f90:23766)
==6590==    by 0x4C8BD6: MAIN__ (aermod.f90:2189)
==6590==    by 0x4C95AB: main (fmain.c:22)
==6590==  Address 0x1BE65FD0 is not stack'd, malloc'd or (recently) free'd

 23757              DO K = 1 , NUMGRP
 23758                 DO J = 1 , NUMREC
 23759                    AVEVAL(J,K,L,M) = 0.0
 23760                    DO I = 1 , NHIVAL
 23761                       HIVALU(J,I,K,L,M) = 0.0
 23762                       NHIDAT(J,I,K,L,M) = 0
 23763                       HCLMSG(J,I,K,L,M) = ' '
 23764                       HMAX(I,K,L,M) = 0.0
 23765                       HMDATE(I,K,L,M) = 0
 23766                       HMLOC(I,K,L,M) = 0
 23767                       HMCLM(I,K,L,M) = ' '
 23768                    ENDDO
 23769                 ENDDO


-- 
           Summary: [Regression 4.3] Crash of gen. prog. when using -
                    funroll-loops -march=opteron
           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=31697


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

end of thread, other threads:[~2007-05-03 13:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 10:06 [Bug middle-end/31697] New: [Regression 4.3] Crash of gen. prog. when using -funroll-loops -march=opteron burnus at gcc dot gnu dot org
2007-04-25 12:28 ` [Bug middle-end/31697] " burnus at gcc dot gnu dot org
2007-04-25 14:28 ` [Bug middle-end/31697] [4.3 Regression] " rguenth at gcc dot gnu dot org
2007-04-26  9:48 ` jb at gcc dot gnu dot org
2007-04-26 10:23 ` ubizjak at gmail dot com
2007-04-26 13:53 ` burnus at gcc dot gnu dot org
2007-04-27  4:04 ` bangerth at dealii dot org
2007-04-27  8:49 ` burnus at gcc dot gnu dot org
2007-05-03 13:16 ` burnus 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).