Skip to content

valgrind error in function DSAAttrChecker::VisitDeclRefExpr file SemaOpenMP.cpp line 3982 #98814

Open
@dcb314

Description

@dcb314

$ valgrind -q --trace-children=yes ~/llvm/results/bin/clang -fopenmp -std=gnu99 -c bug159.c
==880970== Conditional jump or move depends on uninitialised value(s)
==880970== at 0x46E5661: (anonymous namespace)::DSAAttrChecker::VisitDeclRefExpr(clang::DeclRefExpr*) (SemaOpenMP.cpp:3982)

Clang source code is

 if (!isOpenMPTargetExecutionDirective(DKind) && Res &&

bug159.c.gz

This bug seems to have existed since sometime before git hash 7cb5faf, dated 20240615.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorclang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:openmpOpenMP related changes to Clang

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions