Skip to content

[llvm-cov][MC/DC] "Branch not found in Decisions" when handling variadic macros #92216

Open
@whentojump

Description

@whentojump

I hit this problem in https://elixir.bootlin.com/linux/v6.1.83/source/kernel/rcu/tasks.h#L1621

A reduced user-space program is:

#define FOO(x, ...) "", ##__VA_ARGS__
#define ZERO 0
int main() { FOO(, 1 && ZERO); }

Compiler explorer link.

Note that despite the same message, this issue should be different than #87000 and with #89869 locally applied I'm still seeing the same problem.

cc @evodius96 @chapuni

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions