This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30720] runtime: check for empty array slices before allocating a negative amount of memory



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]