public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19294] New: intrinsic_transpose.f90 runtime crash with sparc-solaris at -O1
@ 2005-01-06 17:23 coudert at clipper dot ens dot fr
  2005-01-06 18:16 ` [Bug fortran/19294] " ebotcazou at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: coudert at clipper dot ens dot fr @ 2005-01-06 17:23 UTC (permalink / raw)
  To: gcc-bugs

>From my test logs on sparc-sun-solaris2.9, I see:
FAIL: gfortran.fortran-torture/execute/intrinsic_transpose.f90 execution,  -O1 

This does happen only with -O1 (neither -O0, -O2 nor -O3). I tried to determine
more precisely the cause by including all optimization switches indicated in the
texinfo doc as being part of the -O1 set, but it didn't work (that is: it didn't
fail):

$ ~/irun/bin/gfortran intrinsic_transpose.f90 -static -O0 && ./a.out
$ ~/irun/bin/gfortran intrinsic_transpose.f90 -static -O1 && ./a.out
zsh: bus error  ./a.out
$ ~/irun/bin/gfortran intrinsic_transpose.f90 -static -O2 && ./a.out
$ ~/irun/bin/gfortran intrinsic_transpose.f90 -static -O3 && ./a.out
$ ~/irun/bin/gfortran intrinsic_transpose.f90 -static -fdefer-pop
-fmerge-constants -fthread-jumps -floop-optimize -fif-conversion
-fif-conversion2 -fdelayed-branch -fguess-branch-probability -fcprop-registers
-fomit-frame-pointer && ./a.out
$ ~/irun/bin/gfortran -O1 intrinsic_transpose.f90 -static -fdefer-pop
-fmerge-constants -fthread-jumps -floop-optimize -fif-conversion
-fif-conversion2 -fdelayed-branch -fguess-branch-probability -fcprop-registers
-fomit-frame-pointer && ./a.out
zsh: bus error  ./a.out


Here is the gdb output:
Program received signal SIGSEGV, Segmentation fault.
*_gfortran_transpose_8 (ret=Variable "ret" is not available.
)
    at ../../../gcc/libgfortran/generated/transpose_i8.c:81
81      ../../../gcc/libgfortran/generated/transpose_i8.c: No such file or
directory.
        in ../../../gcc/libgfortran/generated/transpose_i8.c


I can reproduce this behaviour on sparc-sun-solaris2.8 using this solaris2.9
compiler. I can give more details if someone see how to debug this. In
particular, if someone knows the list of -O1 enabled optimization switches, I
could locate the crucial one.

-- 
           Summary: intrinsic_transpose.f90 runtime crash with sparc-solaris
                    at -O1
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coudert at clipper dot ens dot fr
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sparc-sun-solaris2.9


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


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

end of thread, other threads:[~2005-01-23 17:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 17:23 [Bug fortran/19294] New: intrinsic_transpose.f90 runtime crash with sparc-solaris at -O1 coudert at clipper dot ens dot fr
2005-01-06 18:16 ` [Bug fortran/19294] " ebotcazou at gcc dot gnu dot org
2005-01-06 18:19 ` ebotcazou at gcc dot gnu dot org
2005-01-06 21:52 ` [Bug fortran/19294] intrinsic_transpose.f90 runtime crash coudert at clipper dot ens dot fr
2005-01-06 23:12 ` coudert at clipper dot ens dot fr
2005-01-06 23:15 ` pinskia at gcc dot gnu dot org
2005-01-12  1:58 ` phython at gcc dot gnu dot org
2005-01-12  2:15 ` phython at gcc dot gnu dot org
2005-01-19 12:40 ` coudert at clipper dot ens dot fr
2005-01-20  3:35 ` phython at gcc dot gnu dot org
2005-01-20  4:37 ` pinskia at gcc dot gnu dot org
2005-01-23 17:01 ` cvs-commit at gcc dot gnu dot org
2005-01-23 17:09 ` pbrook at gcc dot gnu dot org
2005-01-23 17:10 ` pinskia 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).