https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79335

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |REOPENED

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for fix, however there are still some issues:

$ valgrind --leak-check=yes --trace-children=yes ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
-fcoarray=lib -lcaf_single 

==15334== Conditional jump or move depends on uninitialised value(s)
==15334==    at 0x95EE91: get_scalar_to_descriptor_type(tree_node*,
symbol_attribute) (trans-expr.c:53)
==15334==    by 0x95EFF0: gfc_conv_scalar_to_descriptor(gfc_se*, tree_node*,
symbol_attribute) (trans-expr.c:71)
==15334==    by 0x977D9C: gfc_trans_structure_assign(tree_node*, gfc_expr*,
bool, bool) (trans-expr.c:7552)
==15334==    by 0x97830F: gfc_conv_structure(gfc_se*, gfc_expr*, int)
(trans-expr.c:7646)
==15334==    by 0x978AD9: gfc_conv_expr(gfc_se*, gfc_expr*) (trans-expr.c:7813)
==15334==    by 0x97F5EC: gfc_trans_assignment_1(gfc_expr*, gfc_expr*, bool,
bool, bool, bool) (trans-expr.c:9923)
==15334==    by 0x9804A5: gfc_trans_assignment(gfc_expr*, gfc_expr*, bool,
bool, bool, bool) (trans-expr.c:10231)
==15334==    by 0x9804E1: gfc_trans_init_assign(gfc_code*) (trans-expr.c:10237)
==15334==    by 0x9D2655: gfc_trans_allocate(gfc_code*) (trans-stmt.c:6328)
==15334==    by 0x92077B: trans_code(gfc_code*, tree_node*) (trans.c:1965)
==15334==    by 0x9209F6: gfc_trans_code(gfc_code*) (trans.c:2124)
==15334==    by 0x95B503: gfc_generate_function_code(gfc_namespace*)
(trans-decl.c:6306)
...

Reply via email to