Skip to content

[clang] Crash on __builtin_operator_delete #61661

@aeubanks

Description

@aeubanks
F() {
  int __n;
  __builtin_operator_delete(__p, alignof(F));
}

$ clang++ -cc1 -fsyntax-only /tmp/a.cc crashes

(this was creduced from valid code, apologies for reducing to something broken)

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partycrash-on-invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions