Skip to content

[C++] ICE on use of destructors #41072

@AnastasiaStulova

Description

@AnastasiaStulova
Bugzilla Link 41727
Resolution FIXED
Resolved on Jul 23, 2019 07:59
Version trunk
OS Linux
Blocks #41819
CC @AnastasiaStulova,@zmodem

Extended Description

Frontend fails with ICE if the following code is compiled

bin/clang -c test.cl -cl-std=c++ -target spir -emit-llvm

1 struct S {
2 ~S(){}; // if commented no ICE
3 };
4 S s;

Metadata

Metadata

Assignees

No one assigned

    Labels

    OpenCLbugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions