[Bug fortran/42736] [4.3/4.4/4.5 Regression] Wrong-code with allocatable compounds

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 14 10:56:00 GMT 2010



------- Comment #4 from burnus at gcc dot gnu dot org  2010-01-14 10:56 -------
Regression bisecting on the 4.3 branch shows that PR 35681 is the culprit; to
be precise: Commit Rev. 142154 - maybe that helps to find the issue.

http://gcc.gnu.org/viewcvs?view=revision&revision=142154
        PR fortran/35681
        * dependency.c (gfc_check_argument_var_dependency): Add
        elemental check flag. Issue a warning if we find a dependency
        but don't generate a temporary. Add the case of an elemental
        function call as actual argument to an elemental procedure.
        Add the case of an operator expression as actual argument
        to an elemental procedure.
        (gfc_check_argument_dependency): Add elemental check flag.
        Update calls to gfc_check_argument_var_dependency.
        (gfc_check_fncall_dependency): Add elemental check flag.
        Update call to gfc_check_argument_dependency.
        * trans-stmt.c (gfc_trans_call): Make call to
        gfc_conv_elemental_dependency unconditional, but with a flag
        whether we should check dependencies between variables.
        (gfc_conv_elemental_dependency): Add elemental check flag.
        Update call to gfc_check_fncall_dependency.
        * trans-expr.c (gfc_trans_arrayfunc_assign): Update call to
        gfc_check_fncall_dependency.
        * resolve.c (find_noncopying_intrinsics): Update call to
        gfc_check_fncall_dependency.
        * dependency.h (enum gfc_dep_check): New enum.
        (gfc_check_fncall_dependency): Update prototype.


-- 


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



More information about the Gcc-bugs mailing list