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
gcc 5.2 internal compiler error: Segmentation fault #134
Comments
"internal compiler error" - fun! Internally we're only on gcc 4.9, so we probably haven't run in to this yet. |
I remove the template <class ProtocolReader, class Processor>
void process_pmap(
Processor* proc,
const typename GeneratedAsyncProcessor::ProcessMap<
GeneratedAsyncProcessor::ProcessFunc<
Processor, ProtocolReader>> req,
.....and so on i use gcc 5.2.1 |
That works! Thanks. |
+vote |
struct foo {
template <typename T>
using type = void(T::*)();
};
template <typename>
struct mf;
template <typename T>
struct mf<void(T::*)()> {
// GCC 5.1, 5.2, and 5.3 will segfault when typename is
// uncommented. GCC 4.9.2 and earlier do not segfault.
using type = /*typename*/ foo::template type<T>;
};
int main() { return 0; } Here is a standalone reproduction of the the bug, which was fixed in the GCC repo on 12/19/2015. I just wanted to leave some FYI since this issue thread is a top Google hit. |
Any ideas?
I'm using ArchLinux x86_64
The text was updated successfully, but these errors were encountered: