-
Notifications
You must be signed in to change notification settings - Fork 14
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
Segmentation fault when optimized #3
Comments
Check the code at ycc especially parser_parse_function_body (src/parser.c:421), I let the Makefile compile it with -O0 because it worked with gcc like that but with clang it always gives segfault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had some issues lately when I optimize the code with gcc -O2 or any level above 0, It gives me segfault at arena_da_append because of accessing the memory got from arena_alloc, the weird thing is that it first made it through 4 or more allocations
The text was updated successfully, but these errors were encountered: