From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E89D1383F858; Mon, 1 Feb 2021 09:26:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E89D1383F858 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/98904] valgrind error in gfc_trans_assignment_1 during bootstrap Date: Mon, 01 Feb 2021 09:26:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2021 09:26:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98904 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to David Binderman from comment #5) > Another test case. I compiled source code file dcabs1.f, from the lapack > package. >=20 > I got >=20 > $ /home/dcb/gcc/results.20210131.valgrind/bin/gfortran dcabs1.f > =3D=3D76833=3D=3D Conditional jump or move depends on uninitialised value= (s) > =3D=3D76833=3D=3D at 0x761595: gfc_trans_assignment_1(gfc_expr*, gfc_e= xpr*, bool, > bool, bool, bool) (trans-expr.c:11340) > =3D=3D76833=3D=3D by 0x75FE1C: gfc_trans_assignment(gfc_expr*, gfc_exp= r*, bool, > bool, bool, bool) (trans-expr.c:11557) > =3D=3D76833=3D=3D by 0x71D39A: trans_code(gfc_code*, tree_node*) (tran= s.c:1922) > =3D=3D76833=3D=3D by 0x745B96: gfc_generate_function_code(gfc_namespac= e*) > (trans-decl.c:6880) >=20 > 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=3Dyes ?=