This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30720] runtime: check for empty array slices before allocating a negative amount of memory
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2007 20:49:07 -0000
- Subject: [Bug fortran/30720] runtime: check for empty array slices before allocating a negative amount of memory
- References: <bug-30720-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from tkoenig at gcc dot gnu dot org 2007-02-07 20:49 -------
(In reply to comment #6)
> The patch I attached removes this argument, and it gives no regression on the
> testsuite. I also simplified the conditional expression by using a COND_EXPR
> instead of generating different blocks. Would you mind looking at it to see if
> you spot anything odd?
>From eyballing the patch, it looks OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30720