cpp_box icon indicating copy to clipboard operation
cpp_box copied to clipboard

Compilation causes ICE on gcc 8.1.0

Open misgeatgit opened this issue 6 years ago • 4 comments

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

misgeatgit avatar Oct 30 '18 04:10 misgeatgit

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 avatar Oct 30 '18 15:10 lefticus

What is an ICE?

misgeatgit avatar Oct 31 '18 05:10 misgeatgit

"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 ;"

lefticus avatar Oct 31 '18 15:10 lefticus

Thanks for the explanation.

misgeatgit avatar Nov 01 '18 10:11 misgeatgit