https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238
Stephan Bergmann <sbergman at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbergman at redhat dot com --- Comment #1 from Stephan Bergmann <sbergman at redhat dot com> --- I assume that current trunk > $ cat test.cc > enum { E }; > int f(short n) { return n >> E; } > $ g++ -fsyntax-only test.cc > test.cc: In function ‘int f(short int)’: > test.cc:2:30: internal compiler error: tree check: expected integer_cst, have > nop_expr in to_wide, at tree.h:5860 > 2 | int f(short n) { return n >> E; } > | ^ [...] is the same issue. (Goes away when reverting g:337ea6b216afd412b85f3fda78a36467ffe4a817.)