-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
YACCWVT (yet another compiler crash with vector types) #424
Labels
Comments
I can confirm the first error (LDC head and LLVM 3.4 trunk). In the second case the assertion error is triggered for me, too. Do you use an optimized build of ldc? |
I just use the default build generated by cmake. |
The first error is fixed with commit a2f7246. |
redstar
added a commit
that referenced
this issue
Jul 7, 2013
redstar
added a commit
to redstar/ldc
that referenced
this issue
Apr 25, 2014
Finally fixed in 0.13.0. |
Amen :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the following code LDC is special as it is the only compiler of the three that crashed on all variants and even goes into infinite loop, ignoring the assert that stops the others in time. (Upstream report: http://d.puremagic.com/issues/show_bug.cgi?id=10518)
I could define a constant like this: "enum ubyte16 SIMDConstant = value;" and GDC will optimize that case to be as fast as a static variable, but unfortunately in LDC my code becomes 4x slower this way, similar to the negative effects on having a long enum array or string.
The text was updated successfully, but these errors were encountered: