This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36192] ICE: Segmentation fault
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2008 18:04:27 -0000
- Subject: [Bug fortran/36192] ICE: Segmentation fault
- References: <bug-36192-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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