public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/98564] New: valgrind error with -fanalyzer
@ 2021-01-06 14:55 dcb314 at hotmail dot com
  2021-01-06 15:41 ` [Bug analyzer/98564] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-01-06 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98564
           Summary: valgrind error with -fanalyzer
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this one line of C source code:

void a(void) { int b = calloc(0, 1); }

compiled by recent gcc trunk, built with valgrind, does this:

$ /home/dcb/gcc/results.20210105.valgrind/bin/gcc -fanalyzer -c -w bug687.c
==65008== Conditional jump or move depends on uninitialised value(s)
==65008==    at 0xF7DD7F: ana::exploded_path::feasible_p(ana::logger*,
ana::feas
ibility_problem**, ana::engine*, ana::exploded_graph const*) const
(engine.cc:34
84)
==65008==    by 0x1733AA4: ana::dedupe_winners::add(ana::logger*,
shortest_paths
<ana::eg_traits, ana::exploded_path> const&, ana::exploded_graph const*,
ana::sa
ved_diagnostic*) (diagnostic-manager.cc:465)
==65008==    by 0x1731EF3:
ana::diagnostic_manager::emit_saved_diagnostics(ana::
exploded_graph const&) (diagnostic-manager.cc:616)
==65008==    by 0xF87B77: ana::impl_run_checkers(ana::logger*) (engine.cc:4752)


This bug exists since sometime before 20201206, with git hash 8c23434fdadcf4ca.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-07  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 14:55 [Bug analyzer/98564] New: valgrind error with -fanalyzer dcb314 at hotmail dot com
2021-01-06 15:41 ` [Bug analyzer/98564] " dmalcolm at gcc dot gnu.org
2021-01-07  2:43 ` cvs-commit at gcc dot gnu.org
2021-01-07  2:50 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).