https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87633
Bug ID: 87633 Summary: ice in compare_range_wit h_value, at vr-values.c:1702 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 44845 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44845&action=edit gzipped C++ source code For the attached C++ code, compiled by recent gcc trunk and compiler flag -O2, does this: during GIMPLE pass: evrp ../deps/v8/src/builtins.cc: In function ‘v8::internal::Object* v8::internal::{an onymous}::Slow_ArrayConcat(v8::internal::Arguments*, v8::internal::Handle<v8::in ternal::Object>, v8::internal::Isolate*)’: ../deps/v8/src/builtins.cc:4956:1: internal compiler error: in compare_range_wit h_value, at vr-values.c:1702 0xe9aae1 compare_range_with_value(tree_code, value_range*, tree_node*, bool*) ../../trunk/gcc/vr-values.c:1702 0xe9a518 vr_values::compare_name_with_value(tree_code, tree_node*, tree_node*, b ool*, bool) ../../trunk/gcc/vr-values.c:2106 The problem seems to occur between revisions 265077 and 265139. I'll have my usual go at reducing the code.