------- Additional Comments From tobi at gcc dot gnu dot org 2004-10-10 21:04 ------- The patch is wrong because it does only solve part of the problem.
With the testcase from the mailing list posting referred to above, we get code like this: { logical4 D.464; char[1 .. .d] * pstr.0; pstr.0 = (char[1 .. .d] *) _gfortran_internal_malloc (.d); d (pstr.0, .d, &t1, 10); where .d is used uninitialized. If the function D from the testcase is declared external, with no interface, we hit the same assertion as without the patch. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326