This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17583] New: internal compiler error
- From: "tdeutsch at cea dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2004 14:11:31 -0000
- Subject: [Bug fortran/17583] New: internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Internal compiler error when a variable is used which has the same name as a
dummy variable in a module.
./../gfortran/bin/gfortran -v -save-temps -c -ffree-form toto.f
Reading specs from gfortran/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Configured with: ../gcc/configure --enable-languages=c,f95
--prefix=/usr/work/2004265/irun
Thread model: posix
gcc version 4.0.0 20040921 (experimental)
gfortran/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/f951 toto.f -quiet
-dumpbase toto.f -mtune=pentiumpro -auxbase toto -version -ffree-form -o toto.s
GNU F95 version 4.0.0 20040921 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.0.0 20040921 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
toto.f:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
module bidon
interface
subroutine drivexc(nspden,rho_updn)
integer, intent(in) :: nspden
integer, intent(in) :: rho_updn(nspden)
end subroutine drivexc
end interface
end module bidon
subroutine nonlinear(nspden)
use bidon
integer,intent(in) :: nspden
end subroutine nonlinear
--
Summary: internal compiler error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tdeutsch at cea dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17583