This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36110] ICE (segmentation fault) with -ftree-loop-distribution



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]