public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13792] New: lbound/ubound generates internal compiler error
@ 2004-01-21 15:37 Mart dot Rentmeester at sci dot kun dot nl
  2004-01-21 15:41 ` [Bug fortran/13792] [gfortran] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mart dot Rentmeester at sci dot kun dot nl @ 2004-01-21 15:37 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13792] [gfortran] lbound/ubound generates internal compiler error
  2004-01-21 15:37 [Bug fortran/13792] New: lbound/ubound generates internal compiler error Mart dot Rentmeester at sci dot kun dot nl
@ 2004-01-21 15:41 ` pinskia at gcc dot gnu dot org
  2004-01-21 17:17 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 15:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|lbound/ubound generates     |[gfortran] lbound/ubound
                   |internal compiler error     |generates internal compiler
                   |                            |error
   Target Milestone|---                         |tree-ssa


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13792] [gfortran] lbound/ubound generates internal compiler error
  2004-01-21 15:37 [Bug fortran/13792] New: lbound/ubound generates internal compiler error Mart dot Rentmeester at sci dot kun dot nl
  2004-01-21 15:41 ` [Bug fortran/13792] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-01-21 17:17 ` dhazeghi at yahoo dot com
  2004-04-05  0:00 ` pinskia at gcc dot gnu dot org
  2004-05-26 12:24 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 17:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-21 17:17 -------
Confirmed with current tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-21 17:17:20
               date|                            |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13792] [gfortran] lbound/ubound generates internal compiler error
  2004-01-21 15:37 [Bug fortran/13792] New: lbound/ubound generates internal compiler error Mart dot Rentmeester at sci dot kun dot nl
  2004-01-21 15:41 ` [Bug fortran/13792] [gfortran] " pinskia at gcc dot gnu dot org
  2004-01-21 17:17 ` dhazeghi at yahoo dot com
@ 2004-04-05  0:00 ` pinskia at gcc dot gnu dot org
  2004-05-26 12:24 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-05  0:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-05 00:00 -------
I now get this error:
 In file pr13792.f90:13

end program h
            1
 Internal Error at (1):
 free_expr0(): Bad expr type

-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13792] [gfortran] lbound/ubound generates internal compiler error
  2004-01-21 15:37 [Bug fortran/13792] New: lbound/ubound generates internal compiler error Mart dot Rentmeester at sci dot kun dot nl
                   ` (2 preceding siblings ...)
  2004-04-05  0:00 ` pinskia at gcc dot gnu dot org
@ 2004-05-26 12:24 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-26 12:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-25 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 15:37 [Bug fortran/13792] New: lbound/ubound generates internal compiler error Mart dot Rentmeester at sci dot kun dot nl
2004-01-21 15:41 ` [Bug fortran/13792] [gfortran] " pinskia at gcc dot gnu dot org
2004-01-21 17:17 ` dhazeghi at yahoo dot com
2004-04-05  0:00 ` pinskia at gcc dot gnu dot org
2004-05-26 12:24 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).