[Bug fortran/48066] [4.3/4.4/4.5/4.6 Regression] Segfault with SUM of zero-sized array

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 10 23:19:00 GMT 2011


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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-10 23:19:30 UTC ---
(In reply to comment #2)
> The "Bus error" seems fixed by the patch in
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829#c32.

Well, it does not fix it, it just hides the problem: The patch in PR 43829
moves SUM into the front end - thus, it makes the libgfortran code unreachable
for this test case.



More information about the Gcc-bugs mailing list