------- Comment #3 from pault at gcc dot gnu dot org 2006-12-21 16:05 ------- Harald,
I found it in a couple of minutes; the dependency analysis does not know about NULL(), decides the worst and makes a mess of it! Index: gcc/fortran/dependency.c =================================================================== *** gcc/fortran/dependency.c (révision 120108) --- gcc/fortran/dependency.c (copie de travail) *************** gfc_check_dependency (gfc_expr * expr1, *** 700,705 **** --- 700,708 ---- /* Probably ok in the majority of (constant) cases. */ return 1; + case EXPR_NULL: + return 0; + default: return 1; } Fixes the problem. I'll regtest when I get home and will submit tonight. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2006-12-21 12:41:14 |2006-12-21 16:05:01 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30273