https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64736
Bug ID: 64736 Summary: [SH] ICE in dwarf2cfi.c:2318 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target: sh*-*-* The problem has been discovered by another patch here: https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01962.html It seems that something is creating RTL which is confusing dwarf2cfi.c. It can be reproduced on trunk by setting the insn length for define_insn_and_split "movrt_negc" to "3" (default value is "2"). I guess this is a latent bug/problem of SH reorg (maybe PR 59189) or the dwarf2cfi.c code (maybe PR 64602).