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 fortran/36192] ICE: Segmentation fault



------- Comment #2 from kargl at gcc dot gnu dot org  2008-05-09 18:04 -------
While gfortran should not ICE, this program is seriously flawed with
illegal Fortran.  Just one example.

  ! Simulation parameters
  real, parameter :: n = 2, d = 2

  ! Body masses
  real, dimension(n), parameter :: m = (/ 1.0, 1.0 /)

  ! Body parameters
  real, dimension(n,d) :: &

The arguments to dimension() should be integer type.

Fix your code and the ICE may go away.


-- 


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


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