On Sat, Nov 17, 2018 at 1:12 AM David Malcolm wrote:
>
> PR tree-optimization/87025 reports an ICE within
> -fsave-optimization-record's optrecord_json_writer.
>
> The issue is that dump_context::begin_scope creates an optinfo
> of kind OPTINFO_KIND_SCOPE, but fails to call
> dump_context::end_any
PR tree-optimization/87025 reports an ICE within
-fsave-optimization-record's optrecord_json_writer.
The issue is that dump_context::begin_scope creates an optinfo
of kind OPTINFO_KIND_SCOPE, but fails to call
dump_context::end_any_optinfo, so the optinfo for the scope remains
pending.
The JSON w