public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21995] New: Problem using spread intrinsic
@ 2005-06-10 10:06 gcc-bugzilla at chatsubo dot lagged dot za dot net
  2005-06-10 13:14 ` [Bug libfortran/21995] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gcc-bugzilla at chatsubo dot lagged dot za dot net @ 2005-06-10 10:06 UTC (permalink / raw)
  To: gcc-bugs

PROGRAM ding
  IMPLICIT NONE

  PRINT*, SPREAD(1.0,1,4)

END PROGRAM ding

Running this program when compiled with gfortran goes off into an infinite loop,
or tries to allocate a large amount of memory, resulting it the process being
killed.

-- 
           Summary: Problem using spread intrinsic
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bugzilla at chatsubo dot lagged dot za dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libfortran/21995] Problem using spread intrinsic
  2005-06-10 10:06 [Bug fortran/21995] New: Problem using spread intrinsic gcc-bugzilla at chatsubo dot lagged dot za dot net
@ 2005-06-10 13:14 ` pinskia at gcc dot gnu dot org
  2005-06-10 13:20 ` pinskia at gcc dot gnu dot org
  2005-06-11 20:46 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-10 13:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |libfortran


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


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

* [Bug libfortran/21995] Problem using spread intrinsic
  2005-06-10 10:06 [Bug fortran/21995] New: Problem using spread intrinsic gcc-bugzilla at chatsubo dot lagged dot za dot net
  2005-06-10 13:14 ` [Bug libfortran/21995] " pinskia at gcc dot gnu dot org
@ 2005-06-10 13:20 ` pinskia at gcc dot gnu dot org
  2005-06-11 20:46 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-10 13:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-10 13:20 -------
I get the following on the mainline:
At line 4 of file t.f
Fortran runtime error: return rank too large in spread()

-- 


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


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

* [Bug libfortran/21995] Problem using spread intrinsic
  2005-06-10 10:06 [Bug fortran/21995] New: Problem using spread intrinsic gcc-bugzilla at chatsubo dot lagged dot za dot net
  2005-06-10 13:14 ` [Bug libfortran/21995] " pinskia at gcc dot gnu dot org
  2005-06-10 13:20 ` pinskia at gcc dot gnu dot org
@ 2005-06-11 20:46 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-06-11 20:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-06-11 20:46 -------
>From the .t02.original file:

    real4 C.476 = 1.0e+0;
    struct array1_real4 atmp.0;

    atmp.0.dtype = 281;
    atmp.0.data = 0B;
    atmp.0.offset = 0;
    atmp.0.dim[0].stride = 0;
    _gfortran_spread (&atmp.0, &C.476, &C.477, &C.478);

The front end passes a pointer to a real where the
back end expects an array descriptor.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-11 20:46:39
               date|                            |


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


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

end of thread, other threads:[~2005-06-11 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-10 10:06 [Bug fortran/21995] New: Problem using spread intrinsic gcc-bugzilla at chatsubo dot lagged dot za dot net
2005-06-10 13:14 ` [Bug libfortran/21995] " pinskia at gcc dot gnu dot org
2005-06-10 13:20 ` pinskia at gcc dot gnu dot org
2005-06-11 20:46 ` tkoenig 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).