[Bug libfortran/34980] [4.3 Regression] Segfault in shape given a scalar

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 26 14:41:00 GMT 2008



------- Comment #3 from tkoenig at gcc dot gnu dot org  2008-01-26 14:28 -------
>From the *.original dump:

      atmp.2.dtype = 265;
      atmp.2.dim[0].stride = 1;
      atmp.2.dim[0].lbound = 0;
      atmp.2.dim[0].ubound = -1;
      atmp.2.data = 0B;

It is probably better to check for this case.

And yes, this needs a bit of m4 hackery :-)


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tkoenig at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-26 14:28:50
               date|                            |


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



More information about the Gcc-bugs mailing list