This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/12274] New: gfortran: ICE when operand previously declared parameter in parameter statement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]