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/13792] New: lbound/ubound generates internal compiler error


The following piece of code generates an internal compiler error; the same
happens when lbound is replaced with ubound.

gfortran -dumpversion:
     GNU Fortran 95 (GCC 3.5-tree-ssa 20040119 (merged 20040102))
gfortran -dumpmachine:
     hppa2.0w-hp-hpux11.11


program h

implicit none
real         :: a(5)
integer      :: e

e = lbound(a,1)
write(6,*) e

end program h





The generated compiler output    

> gfortran h.f90

h.f90: In function `MAIN__':
h.f90:4: internal compiler error: in gfc_conv_expr, at fortran/trans-expr.c:1406
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: lbound/ubound generates internal compiler error
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Mart dot Rentmeester at sci dot kun dot nl
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13792


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