[Bug fortran/98904] valgrind error in gfc_trans_assignment_1 during bootstrap

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 09:26:40 GMT 2021


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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to David Binderman from comment #5)
> Another test case. I compiled source code file dcabs1.f, from the lapack
> package.
> 
> I got
> 
> $ /home/dcb/gcc/results.20210131.valgrind/bin/gfortran dcabs1.f
> ==76833== Conditional jump or move depends on uninitialised value(s)
> ==76833==    at 0x761595: gfc_trans_assignment_1(gfc_expr*, gfc_expr*, bool,
> bool, bool, bool) (trans-expr.c:11340)
> ==76833==    by 0x75FE1C: gfc_trans_assignment(gfc_expr*, gfc_expr*, bool,
> bool, bool, bool) (trans-expr.c:11557)
> ==76833==    by 0x71D39A: trans_code(gfc_code*, tree_node*) (trans.c:1922)
> ==76833==    by 0x745B96: gfc_generate_function_code(gfc_namespace*)
> (trans-decl.c:6880)
> 
> Version of lapack is lapack-3.9.0. Note no optimiser.

Can you please point to the source file.

And can you please use the following valgrind option:
--expensive-definedness-checks=yes ?


More information about the Gcc-bugs mailing list