https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79915
Jan Smets <jan.smets at nokia dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|mips |mips64-linux-gnuabi64
Summary|ICE in final_scan_insn, at |ICE in final_scan_insn, at
|final.c:2982 on mips when |final.c:2982 (could not
|compiling libstdc++ with |split insn) on mips* when
|-mlong-calls |compiling libstdc++ with
| |-mlong-calls -mno-abicalls
--- Comment #3 from Jan Smets <jan.smets at nokia dot com> ---
And that was because vxworks defaults to -mno-abicalls.
Thus, the example reproduces on mips64-linux with -mno-abicalls