https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118657
Andi Kleen <andi-gcc at firstfloor dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andi-gcc at firstfloor dot org --- Comment #3 from Andi Kleen <andi-gcc at firstfloor dot org> --- I don't think you need range analysis for this, just the constexpr array lookup needs to supply a constant.