From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Joern Rennecke Cc: wilson@cygnus.com (Jim Wilson), tege@pdc.kth.se, egcs@cygnus.com Subject: Re: x86 failure on loop reversal Date: Wed, 08 Apr 1998 02:13:00 -0000 Message-id: <29975.892017021@hurl.cygnus.com> References: <199804071327.OAA09064@phal.cygnus.co.uk> X-SW-Source: 1998-04/msg00297.html In message < 199804071327.OAA09064@phal.cygnus.co.uk >you write: > Here is a version of the testcase that avoids the -0x80000000 problem: > > int > f() > { > int j = 1; > long i; > for (i = -0x70000000L; i < 0x60000000L; i += 0x10000000L) j <<= 1; > return j; > } > > int > main () > { > if (f () != 8192) > abort (); > return 0; > } I added this test to the testsuite. jeff