[Bug fortran/27895] problem with SPREAD and zero-sized arrays

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 5 09:20:00 GMT 2006



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2006-06-05 09:09 -------
A minimal testcase exhibiting both problems (warning and segfault) is:

  real :: tempn(1)
  tempn = 2.0 
  print *, spread(tempn(2:1),dim=1,ncopies=1)
  end


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.2.0 4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-05 09:09:10
               date|                            |


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



More information about the Gcc-bugs mailing list