https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121251
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So it looks like enum is used by switchlower.
/home/apinski/src/upstream-gcc-isel/gcc/libbacktrace/dwarf.c:3420:1: error:
type mismatch in ‘rshift_expr’
3420 | read_function_entry (struct backtrace_state *state, struct dwarf_data
*ddata,
| ^~~~~~~~~~~~~~~~~~~
long unsigned int
long unsigned int
dwarf_tag
_173 = 70369281048584 >> _2; // 0x400020000008
during GIMPLE pass: switchlower
Let me think about this some more.