Regarding stm8-binutils-gdb-sources-2017-05-25:
In binutils_patches/0001-First-commit-for-stm8-binutils-gdb.patch, the line
tdesc_create_reg (feature, "cc", 5, 1, "general", 8, "uint16");
should be
tdesc_create_reg (feature, "cc", 5, 1, "general", 8, "uint8");
Fixed in release 2018-03-04