This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12274] New: gfortran: ICE when operand previously declared parameter in parameter statement
- From: "santugi at dptmaths dot ens-cachan dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2003 14:58:31 -0000
- Subject: [Bug fortran/12274] New: gfortran: ICE when operand previously declared parameter in parameter statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12274
Summary: gfortran: ICE when operand previously declared parameter
in parameter statement
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: santugi at dptmaths dot ens-cachan dot fr
CC: gcc-bugs at gcc dot gnu dot org
Compiling the following program segfault with gfortan
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PROGRAM
REAL :: a, c
PARAMETER (a=1.0d+0)
c=0+a;
END PROGRAM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The segfault only occurs when "a" is declared parameter by a parameter statement.
Compiler information:
version gcc 3.5-tree-ssa 20030913 (merged 20030817).
bootstraped with CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
BOOT_LDFLAGS=-L/usr/local/lib