On 20 Oct 2022 09:32, Tsukasa OI wrote: > Clang generates a warning if there is an enum value with a mismatching type > without an explicit cast ("-Wenum-conversion"). > On the default configuration, it causes a build failure > (unless "--disable-werror" is specified). > > This commit adds explicit casts on the FR-V instruction decoder. > > Note: > This commit touches CGEN-generated files directly. > Modifying CGEN is the best way to prevent this issue from happening again > but there is another known regression in CGEN to resolve. i don't know what regression you're referring to, but if the CGEN output does this now, that's fine. but if CGEN doesn't do this, we should get that fixed first, or make sure the fix is in progress, not just reported. -mike