[Bug fortran/21034] internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036
nicolas dot girard at nerim dot net
gcc-bugzilla@gcc.gnu.org
Fri Apr 15 06:09:00 GMT 2005
------- Additional Comments From nicolas dot girard at nerim dot net 2005-04-15 06:09 -------
Sure.
Actually the main file is a .F file. The tgz I'm about to attach contain the
following files:
- main.F : main file
- guess.h params.h pinch_complet.h prec.h: included by the preprocessor
- routines.h.ok : when renamed to routines.h, the program compiles fine
- routines.h.bug: when renamed to routines.h, causes the bug to appear
"$ diff routines.*" gives:
408c408
< subroutine solution(n,xf,fg,h1,h2,beta,pas,tolerance,nmax,xav)
---
> subroutine solution(xf,fg,h1,h2,beta,pas,tolerance,nmax,xav)
438c438
< parameter (n1=5,n2=5,ndims=10)
---
> parameter (n1=5,n2=5,n=1024,ndims=10)
All I did was to add "n" as a new parameter of the solution() subroutine ; here
the call to solution() is unchanged but adding a variable corresponding to n in
the function call changes nothing, the bug still appears.
Thanks again,
cheers
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21034
More information about the Gcc-bugs
mailing list