https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59461
Matthew Fortune <matthew.fortune at imgtec dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthew.fortune at imgtec dot com --- Comment #6 from Matthew Fortune <matthew.fortune at imgtec dot com> --- (In reply to Eric Botcazou from comment #5) > Fixed in GCC 7. There is a reasonable chance that this patch broke mips64 n64 but I do not have confirmation yet. See PR target/78660. I can vaguely see how this patch may affect MIPS64 in terms of how 32-bit values are handled on a MIPS64 architecture with the sign bit replicated to the upper-32 bits. This presumably is somehow not accounted for in the nonzero_bits logic. I'm yet to get my head around what the issue is but if anyone has a pointer based on the potential impact on MIPS64 as described above then I'd be grateful.