-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
LLVM 13 Regression: __builtin_longjmp
not working with -Oz
#51071
Comments
Note this appears to have regressed with 669ddd1e9b12 ("Turn on the new pass manager by default"), at least that is what I see when doing a bisection. However, this commit only turned on the new pass manager. If I compile the example with And vice versa, if I use any clang before 669ddd1 with Ergo, there is something about the new pass manager that influences this particular crash scenario. |
Thanks for the investigation, Dimitry. Now I am pretty much sure that the switch of the default pass manager just manifests a long-standing bug in Should this be resolved as a duplicate of #49578 ? |
I would keep this one as it seems more general (bug 50234 appears to refer specifically to PowerPC, at first), and more people are CC'd on it. |
mentioned in issue #51489 |
The deadline for requesting fixes for the release has passed. This bug is being removed from the LLVM 13.0.1 release milestone. If you have a fix or think this bug is important enough to block the release, please explain why in a comment and add the bug back to the LLVM 13.0.1 release milestone. |
__builtin_longjmp
not working with -Oz
Extended Description
Tested with 13.0.0-rc2 and 12.0.1. The repro could be made shorter.
Note that this issue is not necessarily specific to X86_64. A segfault is also observed for ARM.
$ cat bsjlj.c
The text was updated successfully, but these errors were encountered: