This is the mail archive of the 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 libfortran/33298] Wrong code for SPREAD on zero-sized arrays

------- Comment #5 from fxcoudert at gcc dot gnu dot org  2007-09-04 10:51 -------
Reduced testcase:
  real :: x(0,3), y(0)
  x = spread(y,2,3)

#0  0x0000000000431600 in memcpy ()
#1  0x000000000040400f in spread_internal (ret=<value optimized out>,
    source=<value optimized out>, along=<value optimized out>,
    pncopies=<value optimized out>, size=4)
    at ../../../../trunk2/libgfortran/intrinsics/spread_generic.c:148
#2  0x0000000000400342 in MAIN__ () at a.f90:2


fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |libfortran
     Ever Confirmed|0                           |1
  GCC build triplet|x86_64-unknown-linux-gnu    |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |
           Keywords|                            |wrong-code
      Known to fail|                            |4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-04 10:51:29
               date|                            |
            Summary|Wrong code for SPREAD on    |Wrong code for SPREAD on
                   |zero sized dummy arguments  |zero-sized arrays
   Target Milestone|---                         |4.3.0

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