Skip to content
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

cgen: fix -fsanitize=undefined used with []int{}.sort() #21331

Conversation

spytheman
Copy link
Member

@spytheman spytheman commented Apr 21, 2024

This makes ./v -cc clang -cflags -fsanitize=undefined -o v2 cmd/v && ./v2 -cc clang -cflags -fsanitize=undefined vlib/v/compiler_errors_test.v pass.

@spytheman spytheman merged commit 447620e into vlang:master Apr 21, 2024
57 checks passed
@ttytm
Copy link
Member

ttytm commented Apr 22, 2024

nice 👍

@spytheman spytheman deleted the cgen_fix_qsort_call_on_empty_array_with_fsanitize_undefined branch April 23, 2024 07:32
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.

None yet

2 participants