https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91635
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can't reproduce. I get: foo: not a4,a0 lui a5,%hi(b) slli a0,a0,17 sh a4,%lo(b)(a5) srli a0,a0,17 ret at -O2 which looks correct.