[Bug fortran/30720] runtime: check for empty array slices before allocating a negative amount of memory
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 20:34:00 GMT 2007
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-02-06 20:34 -------
Confirming this bug (both of them, actually).
For the missed-optimization, I think there's no reason to keep a library
function _gfortran_internal_free(x) that is equivalent to "if(x) free(x);", we
should generate that code directly.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization, wrong-
| |code
Known to fail| |4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-02-06 20:34:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30720
More information about the Gcc-bugs
mailing list