From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3975384A07D; Mon, 1 Feb 2021 10:44:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3975384A07D From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/98912] New: valgrind error in default_elf_asm_output_ascii Date: Mon, 01 Feb 2021 10:44:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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 10:44:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98912 Bug ID: 98912 Summary: valgrind error in default_elf_asm_output_ascii Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 50105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50105&action=3Dedit fortran source code For the attached fortran source code file, compiled as follows: $ /home/dcb/gcc/results.20210131.valgrind/bin/gfortran -flto=3Dauto getfnam= e.f does this: =3D=3D29891=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D29891=3D=3D at 0xF68B43: default_elf_asm_output_ascii(_IO_FILE*, c= har const*, u nsigned int) (varasm.c:8285) =3D=3D29891=3D=3D by 0xF68A8F: assemble_string(char const*, int) (varasm= .c:2069) =3D=3D29891=3D=3D by 0xAAA5EF: lhd_append_data(void const*, unsigned lon= g, void*) (la nghooks.c:823) =3D=3D29891=3D=3D by 0xAFC984: produce_lto_section (lto-streamer-out.c:2= 675)=