This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19654] New: compilation crashes when variable is too large instead of showing error
- From: "guillemborrell at yahoo dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2005 12:10:30 -0000
- Subject: [Bug fortran/19654] New: compilation crashes when variable is too large instead of showing error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GNU Fortran 95 (GCC 4.0.0 20050127 (experimental))
Copyright (C) 2005 Free Software Foundation, Inc.
guillem@peret guillem $ gfc kk.f90 -lfftw3f
kk.f90: In function 'MAIN__':
kk.f90:14: internal compiler error: in tree_low_cst, at tree.c:3816
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
ifort{
guillem@peret guillem $ ifort -v
Version 8.1
} gives
guillem@peret guillem $ ifort kk.f90 -lfftw3f
fortcom: Error: kk.f90, line 10: A common block or variable may not exceed
2147483647 bytes
real, dimension(N,N) :: output
-----------------------------^
fortcom: Error: kk.f90, line 9: A common block or variable may not exceed
2147483647 bytes
real, dimension(N,N) :: input
-----------------------------^
compilation aborted for kk.f90 (code 1)
program kk
implicit none
include "/usr/include/fftw3.f"
integer, parameter :: N=32768, M=N/2-1
real, dimension(N,N) :: input
real, dimension(N,N) :: output
integer(8):: plan
call random_number(input)
open(12,file='fisico')
open(13,file='fourier')
call sfftw_plan_dft_r2c_2d(plan,N,N,input,output,FFTW_ESTIMATE)
call sfftw_execute(plan)
call sfftw_destroy_plan(plan)
end program kk
----------------
Linked with fftw3, but not relevant (I presume)
--
Summary: compilation crashes when variable is too large instead
of showing error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: guillemborrell at yahoo dot es
CC: gcc-bugs at gcc dot gnu dot org
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=19654