Skip to content

clang segfaults with 1,000,000 if statementsΒ #117511

@lenanya

Description

@lenanya

While doing a 1,000,000 if statement function as a joke, i discovered that clang segfaults during compilation.

Preprocessed Source Code and Build file as the clang said to provide:
clang_bug_report.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"crashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions