Skip to content

[SYCL] Fix crash during search for undefined functions #5342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

Fznamznon
Copy link
Contributor

There was a crash if operator new was used inside recursive function
or if undefined overloaded operator new was used inside random device
code. The reason for crash is that FunctionDecl that represents
operator new doesn't have a valid name in AST and isSYCLUndefinedAllowed
checks it.

There was a crash if operator `new` was used inside recursive function
or if undefined overloaded operator `new` was used inside random device
code. The reason for crash is that `FunctionDecl` that represents
operator `new` doesn't have a valid name in AST and `isSYCLUndefinedAllowed`
checks it.
@Fznamznon Fznamznon requested a review from a team as a code owner January 19, 2022 15:41
@bader bader merged commit 2085978 into intel:sycl Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants