Skip to content

[CLANG] Increase default value for -ftemplate-depth to 1024 #478

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

Merged
merged 1 commit into from
Apr 3, 2017

Conversation

eguiraud
Copy link
Contributor

@eguiraud eguiraud commented Apr 3, 2017

This is a backport from llvm revision 278983:
"PR18417: Increase -ftemplate-depth to the value 1024 recommended
by the C++ standard's Annex B"

Motivation: the current template instantiation depth limit (256) makes
it impossible to move-construct std::tuple's of size equal or greater than 17.

Thanks @vgvassilev for pointing me to the right llvm patch.

This is a backport from llvm revision 278983:
"PR18417: Increase -ftemplate-depth to the value 1024 recommended
by the C++ standard's Annex B"

Motivation: the current template instantiation depth limit (256) makes
it impossible to move-construct std::tuple's of size equal or greater than 17.
@vgvassilev vgvassilev self-assigned this Apr 3, 2017
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1011/native, slc6/gcc49, slc6/gcc62, ubuntu14/native

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants