[gomp4] Remove some ptxness from middle end

Nathan Sidwell nathan@codesourcery.com
Mon Jun 22 20:50:00 GMT 2015


On 06/22/15 13:04, Marek Polacek wrote:
> On Mon, Jun 22, 2015 at 01:00:51PM -0400, Nathan Sidwell wrote:
>> +  if (GET_CODE (arg) != CONST_INT
>> +      || (unsigned HOST_WIDE_INT)INTVAL (arg) >= OACC_HWM)
>
> Don't we have UINTVAL for this?  So UINTVAL (arg).

Applied the attached, after testing.  Also realized I'd missed some places I 
should have used the new loop level enumeration.

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup.patch
Type: text/x-patch
Size: 1998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150622/6dfcb8de/attachment.bin>


More information about the Gcc-patches mailing list