From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Carr To: Jim Wilson Cc: egcs@cygnus.com Subject: Re: HOST_WIDE_INT = long long patches Date: Wed, 22 Apr 1998 04:19:00 -0000 Message-id: <199804221119.HAA17199@contents-vnder-pressvre.MIT.EDU> References: <199804220053.RAA21350@rtl.cygnus.com> X-SW-Source: 1998-04/msg00900.html > This change in final.c (split_double) doesn't look like it will work. > > ! high = GEN_INT (INTVAL (value) << (HOST_BITS_PER_WIDE_INT - 2 * BITS_PER_WORD) >> (HOST_BITS_PER_WIDE_INT - BITS_PER_WORD)); > > If HOST_BITS_PER_WIDE_INT and BITS_PER_WORD are the same, then you end up with > a negative shift count for the first shift, which is undefined. The shift count is nonnegative because the code is inside a test: if (HOST_BITS_PER_WIDE_INT >= (2 * BITS_PER_WORD))