-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Workaround an ICE in clang 9.0.0 #2329
Conversation
While |
If the build passes at O1, perhaps this is better handled with a (suitably ifdef'd) |
This bug is not there in 8.x nor in the 9.0 daily snapshot.
This problem just re-appeared with AppleClang 11.0.3 on OSX 10.15. Should we make the guard broader to cover the Apple Clang fork, too? |
Guess so. Does the Apple Clang use any unique identifiers (apart from probably reporting clang_major 11) ? |
I don't have AppleClang 11.0.3, but
|
We should be able to find the corresponding versions in this table: If the problem was only occurring in Clang 9.0.0 this seams to agree with the observation that AppleClang 11.0.3 is failing, too. We probably have to find the corresponding |
Presumably |
Unfortunately not, AppleClang redefines the version. So it would be something like __apple_build_version__ (right pick) or that defined and clang major to 11.0.3
|
|
Sorry for the confusion. |
Thanks for the clarification. I have made this a separate |
Fix merged now. |
This bug is not there in 8.x nor in the 9.0 daily snapshot.
I managed to reduce the reproducing failure to the following,