-
Notifications
You must be signed in to change notification settings - Fork 578
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
Tpetra: GCC 5.3.0 internal compiler error #6200
Comments
@mhoemmen Any ideas as to how I tickled the compiler incorrectly? |
Are you using nested lambdas? Gcc 5 and 6 have a nasty bug with nested lambdas. |
I am using nested lambdas, but the compiler woofs long before that. |
@csiefer2 Sometimes it helps to make code simpler -- e.g., make a temporary variable for |
@mhoemmen Since I'm mucking with it anyway, do you mind if I yank the launch parameters function out of Ifpack2's scaledDampedResidual and just have it call this? |
Buh? Tpetra_Details_residual.hpp:219:48: error: no matching function for call to ‘residual_launch_parameters(const int64_t&, const int64_t&, const int64_t&, const int&, const int&)’ Tpetra_Details_residual.hpp:64:1: note: candidate: template int64_t Tpetra::Details::residual_launch_parameters(int64_t, int64_t, int64_t, int&, int&) |
@dsunder helped me. Yet another compiler bug! Yay! |
PR merged. @brian-kelley please verify the nightlies worked and close issue, if so. |
Bug Report
@trilinos/tpetra
@csiefer2
Description
GCC 5.3.0 (on trappist, rocketman and enigma) has an internal compiler error in
Tpetra_Details_residual.hpp, line 216, even though the line looks very innocuous.
I think this started with commit ed2c660. This affects most of the "Experimental" CDash builds on several different machines so hopefully it's easy to reproduce and find a workaround.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: