[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
Wed Feb 7 19:10:00 GMT 2007



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2007-02-07 19:10 -------
(In reply to comment #5)
> If you find something that works without that argument (which is
> a bit of a kudge), so much the better.

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?


-- 


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



More information about the Gcc-bugs mailing list