Fix PR/14084

Josef Zlomek zlomj9am@artax.karlin.mff.cuni.cz
Sat Feb 21 13:45:00 GMT 2004


Hello,

> I have noticed a problem with REG_OFFSET on powerpc64.

here is the testcase, if compiled at any optimization level
the REG_OFFSET is incorrectly changed between 24.lreg and 25.greg

Josef


extern int foo(int bar);
void
asyn_echoclient(int repcount)
{
        int rdcount = 0;

        while (rdcount < repcount) {
		if (foo(rdcount))
		  break;

		++rdcount;

        }
}



More information about the Gcc-patches mailing list