[Bug lto/98912] New: valgrind error in default_elf_asm_output_ascii

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 1 10:44:35 GMT 2021


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

            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=50105&action=edit
fortran source code

For the attached fortran source code file, compiled as follows:

$ /home/dcb/gcc/results.20210131.valgrind/bin/gfortran -flto=auto getfname.f

does this:

==29891== Conditional jump or move depends on uninitialised value(s)
==29891==    at 0xF68B43: default_elf_asm_output_ascii(_IO_FILE*, char const*,
u
nsigned int) (varasm.c:8285)
==29891==    by 0xF68A8F: assemble_string(char const*, int) (varasm.c:2069)
==29891==    by 0xAAA5EF: lhd_append_data(void const*, unsigned long, void*)
(la
nghooks.c:823)
==29891==    by 0xAFC984: produce_lto_section (lto-streamer-out.c:2675)


More information about the Gcc-bugs mailing list