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

            Bug ID: 94262
           Summary: valgrind error in get_pure_location
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For testsuite file ./gcc.dg/visibility-10.c, compiled by recent gcc
trunk in a valgrind version, I get

./gcc.dg/visibility-10.c:19: error: expected ‘{’ at end of input
   19 | int l;
      |
==1850702== Conditional jump or move depends on uninitialised value(s)
==1850702==    at 0x14367D5: get_pure_location(line_maps*, unsigned int)
(line-map.c:322)
==1850702==    by 0xD4E4A7: get_pure_location (input.h:148)
==1850702==    by 0xD4E4A7: set_block(unsigned int, tree_node*) (tree.c:14835)
==1850702==    by 0x12E0DED: gimple_set_block (gimple.h:1865)

Command line is

$ /home/dcb/gcc/results/bin/gcc -c ./gcc.dg/visibility-10.c

Reply via email to