https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94121
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #3 from Wilco <wilco at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > Comment on attachment 48010 [details] > [PATCH PR94121] fix ICE on aarch64 in abs_hwi, at hwint.h:324 > > Can't you instead just use absu_hwi instead of abs_hwi and change moffset > type to unsigned HOST_WIDE_INT? With the latter, the moffset < 0x1000000 > comparison will DTRT and for HOST_WIDE_INT_MIN DImode it really doesn't > matter if we use addition or subtraction. Yes that works fine.