[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 23:16:00 GMT 2007
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-02-06 23:16 -------
Created an attachment (id=13018)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13018&action=view)
Patch for this bug
Here's the patch I propose. It makes the code simpler by using a cond_expr
instead of using different statement blocks. Regtested in an earlier version on
i686-linux, regtesting of the current version in progress.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30720
More information about the Gcc-bugs
mailing list