public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36110]  New:  Segmentation fault when compiling lapack with fortran 4.4.0-20060501
@ 2008-05-02 15:14 linuxl4 at sohu dot com
  2008-05-02 15:49 ` [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution burnus at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: linuxl4 at sohu dot com @ 2008-05-02 15:14 UTC (permalink / raw)
  To: gcc-bugs

segmentation fault when compiling "sgtrfs.f"

my make.inc  of  lapack 3.1.1:
--------------------------
SHELL = /bin/sh
VERSION = 3.1.1

FORTRAN  = gfortran
OPTS = ${FFLAGS}
DRVOPTS  = $(OPTS)
NOOPT    =
LOADER   = $(FORTRAN)
LOADOPTS = $(OPTS)

TIMER    = INT_ETIME

my $FFLAGS:
------------------------
-ffixed-line-length-0 -ffree-line-length-0 -fimplicit-none -frange-check
-fmax-identifier-length=63 -Wall -fmax-errors=0 -Wimplicit-interface
-Wunused-parameter -Wconversion -Wcharacter-truncation -Wunderflow -fbacktrace
-fdump-core -ffpe-trap= -finit-integer=-9999 -finit-real=nan
-finit-logical=false -finit-character=122 -pipe -ggdb3 -limf -lsvml -O3
-march=pentium4 -mfpmath=sse -funswitch-loops -ftree-loop-distribution
-ftree-loop-linear -ftree-loop-im -fivopts -funroll-loops
-fvariable-expansion-in-unroller -fsplit-ivs-in-unroller -ftree-vectorize
-ftree-vect-loop-version -fvect-cost-model -fgcse-sm -fgcse-las
-fsched-spec-load -fsched-stalled-insns=0 -fsched-stalled-insns-dep=0
-fbounds-check


-- 
           Summary:  Segmentation fault when compiling lapack with fortran
                    4.4.0-20060501
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: linuxl4 at sohu dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution
  2008-05-02 15:14 [Bug fortran/36110] New: Segmentation fault when compiling lapack with fortran 4.4.0-20060501 linuxl4 at sohu dot com
@ 2008-05-02 15:49 ` burnus at gcc dot gnu dot org
  2008-05-02 15:57 ` linuxl4 at sohu dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-05-02 15:49 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #1 from burnus at gcc dot gnu dot org  2008-05-02 15:48 -------
This GCC version does not make sense: 4.4.0-20060501. I assume you mean
20080501.

The mentioned file is available at:
http://www.netlib.org/lapack/single/sgtrfs.f

I can reproduce the crash with:

$ gfortran -S -O2 -ftree-loop-distribution  "sgtrfs.f"
sgtrfs.f: In function ‘sgtrfs’:
sgtrfs.f:1: internal compiler error: Segmentation fault


Valgrind shows:

==32764== Use of uninitialised value of size 8
==32764==    at 0x4D4520: bitmap_bit_p (bitmap.c:548)
==32764==    by 0xAB76DE: compute_dominance_frontiers (cfganal.c:1273)
==32764==    by 0x74F70E: update_ssa (tree-into-ssa.c:3281)
==32764==    by 0x7F2D29: rewrite_into_loop_closed_ssa
(tree-ssa-loop-manip.c:377)
==32764==    by 0x754967: tree_loop_distribution
(tree-loop-distribution.c:1029)
==32764==    by 0x678576: execute_one_pass (passes.c:1136)
==32764==    by 0x6787B4: execute_pass_list (passes.c:1191)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |middle-end
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
           Keywords|                            |ice-on-valid-code
            Summary| Segmentation fault when    |ICE (segmentation fault)
                   |compiling lapack with       |with -ftree-loop-
                   |fortran 4.4.0-20060501      |distribution


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


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

* [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution
  2008-05-02 15:14 [Bug fortran/36110] New: Segmentation fault when compiling lapack with fortran 4.4.0-20060501 linuxl4 at sohu dot com
  2008-05-02 15:49 ` [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution burnus at gcc dot gnu dot org
@ 2008-05-02 15:57 ` linuxl4 at sohu dot com
  2008-05-02 18:47 ` rguenth at gcc dot gnu dot org
  2008-08-11  9:33 ` linuxl4 at sohu dot com
  3 siblings, 0 replies; 5+ messages in thread
From: linuxl4 at sohu dot com @ 2008-05-02 15:57 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #2 from linuxl4 at sohu dot com  2008-05-02 15:56 -------
¡µThis GCC version does not make sense: 4.4.0-20060501. I assume you mean
¡µ20080501.

yes. 
sorry for the wrong typing.


-- 


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


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

* [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution
  2008-05-02 15:14 [Bug fortran/36110] New: Segmentation fault when compiling lapack with fortran 4.4.0-20060501 linuxl4 at sohu dot com
  2008-05-02 15:49 ` [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution burnus at gcc dot gnu dot org
  2008-05-02 15:57 ` linuxl4 at sohu dot com
@ 2008-05-02 18:47 ` rguenth at gcc dot gnu dot org
  2008-08-11  9:33 ` linuxl4 at sohu dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-05-02 18:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-02 18:47:09
               date|                            |


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


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

* [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution
  2008-05-02 15:14 [Bug fortran/36110] New: Segmentation fault when compiling lapack with fortran 4.4.0-20060501 linuxl4 at sohu dot com
                   ` (2 preceding siblings ...)
  2008-05-02 18:47 ` rguenth at gcc dot gnu dot org
@ 2008-08-11  9:33 ` linuxl4 at sohu dot com
  3 siblings, 0 replies; 5+ messages in thread
From: linuxl4 at sohu dot com @ 2008-08-11  9:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from linuxl4 at sohu dot com  2008-08-11 09:32 -------
I tested to compile lapack again today ,

It seemed  has been fixed.

thanks.


-- 

linuxl4 at sohu dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-08-11  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-02 15:14 [Bug fortran/36110] New: Segmentation fault when compiling lapack with fortran 4.4.0-20060501 linuxl4 at sohu dot com
2008-05-02 15:49 ` [Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution burnus at gcc dot gnu dot org
2008-05-02 15:57 ` linuxl4 at sohu dot com
2008-05-02 18:47 ` rguenth at gcc dot gnu dot org
2008-08-11  9:33 ` linuxl4 at sohu dot com

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).