Skip to content
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

Compilation causes ICE on gcc 8.1.0 #34

Open
misgeatgit opened this issue Oct 30, 2018 · 4 comments
Open

Compilation causes ICE on gcc 8.1.0 #34

misgeatgit opened this issue Oct 30, 2018 · 4 comments

Comments

@misgeatgit
Copy link

internal compiler error: in force_type_die, at dwarf2out.c:25955
         for (int i = 0; i < status.opsPerFrame && status.sys->operations_remaining(); ++i) { status.sys->next_operation(); }

g++ version:
g++ (Ubuntu 8.1.0-5ubuntu1~16.04) 8.1.0

@lefticus
Copy link
Owner

I'm currently using 8.2.1 with no problem. To be fair I'm pushing the limits of what is possible with gcc/clang right now, requiring very good support for C++17.

That's a really surprising place (to me) to see an ICE. Can you try both Debug and Release builds and see if there's any difference?

@lefticus lefticus changed the title Compilation fails on gcc 8 Compilation causes ICE on gcc 8.1.0 Oct 30, 2018
@misgeatgit
Copy link
Author

What is an ICE?

@lefticus
Copy link
Owner

"Internal Compiler Error" it basically means there's a bug in the compiler, not in the C++ code. If it were an error in the C++ code then we should have gotten an error that says something like "on line 5 you are missing a ;"

@misgeatgit
Copy link
Author

Thanks for the explanation.

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

No branches or pull requests

2 participants