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 M32R 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 or sim/m32r to resolve. same feedback as what i posted to "[PATCH 14/40] sim/frv: Add explicit casts" -mike