On Mon, Dec 05, 2016 at 08:50:08AM -0700, Martin Sebor wrote: > I posted a bigger patch to fix this and other related problems on > Friday (https://gcc.gnu.org/ml/gcc-patches/2016-12/msg00262.html). > In hindsight, I should have probably committed the fix for this > on its own. Please let me know if this is blocking you and I'll > commit this fix by itself today so you don't have to wait for > the bigger patch to get reviewed and approved.
You could just change the abs use to absu_hwi or abs_hwi if you need something quickly working (depending on whether HOST_WIDE_INT_MIN can appear or not). Jakub