Skip to content

clang: 18: hangs on a simple syntax error #69194

@wierton

Description

@wierton

Compiler Explorer: https://gcc.godbolt.org/z/7c9dKMGcW

When compile this program with option -O0 -fopenmp-simd, Clang hangs:

static int a;
#pragma omp declare target
b = b ^ 3 + a;

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:openmpOpenMP related changes to ClanghangCompiler hang (infinite loop)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions