-
-
Notifications
You must be signed in to change notification settings - Fork 260
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 3.0 segfault compiling std.net.curl with -O3 -g #153
Comments
Either that, or we are emitting invalid debug metadata in a way that isn't caught by the verifier (judging solely from the backtrace, that is). |
BTW: This is independent of my commit 34d595d. The error occured before that. |
You are right: The segmentation fault does not occur without the |
Could also be that it's in fact an optimization pass misbehaving – I wouldn't expect -O3 -g to be a well tested combination for Clang, etc. either. |
Closing, as it is likely an LLVM 3.0 bug. |
Issue 7523 - Incorrect capacity for new T[] with non-zero T.init.
I tried to build Phobos with optimization level 3 (-O3). I got the following segmentation fault:
This happens only if I compiled LDC with LLVM 3.0. Maybe it's a LLVM 3.0 bug...
The text was updated successfully, but these errors were encountered: